Aprender Linux Containers, Debian, Mikrotik, Networking, Encaminhamento, Ciências e Apoiadores

< Browse > Início / Linux, Networking, script / Blog do artigo: Squid Proxy Server com o IP múltiplos

| Mobile | RSS

Squid Proxy Server com o IP múltiplos

18 de junho, 2009 | 2 Comentários | Postado em Linux, Networking, script

- Di asumsikan squid proxy sudah terinstall
- Misal untuk IP address eth0 = 202.202.202.201
- Set beberapa IP yang kita punya pada virtual interface.

misal :
# ifconfig eth0:1 202.202.202.202 netmask 255.255.255.224
# ifconfig eth0:2 202.202.202.203 netmask 255.255.255.224


- Buatlah ACL untuk incoming network source pada file konfigurasi squid.conf

acl network_1 src 192.168.1.0/255.255.255.0
acl network_2 src 192.168.2.0/255.255.255.0

- Set outgoing address untuk tiap2 source network pada file konfigurasi squid.conf

tcp_outgoing_address 202.202.202.202 network_1
tcp_outgoing_address 202.202.202.203 network_2
tcp_outgoing_address 202.202.202.201

- Restart service squid

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogosphere News
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Slashdot
  • StumbleUpon
  • Technorati
  • Print
  • email
Deixe uma Resposta 3254 visualizações, 1 hoje tão longe |

Posts Relacionados

Siga Discussão

2 Respostas “Squid Proxy Server com o IP múltiplos”

  1. tetembak Diz:

    masi bingung mas… squid proxy tuh fungsinya apa? terus dimana bisa dapatinnya..

  2. adhint Diz:

    gan gmn nich saya masih bingngug  masalah subnetting ip address…
    tolong dund kasih penjelesan yang lebih detaillagi… :)
     

Deixe uma Resposta




View My Stats