Læring Linux Beholdere, Debian, Mikrotik, Nettverk, Routing, fag Støttespillere

< Browse > Hjem / Linux, Nettverk, script / Blogg Artikkel: Squid Proxy Server med flere IP

| Mobil | RSS

Squid Proxy Server med flere IP

18 juni, 2009 | 2 Comments | Posted in Linux, Nettverk, script

- I forutsatt installert squid proxy
- Misal untuk IP-adresse eth0 = 202.202.202.201
- Angi noen IP at vi har den virtuelle grensesnitt.

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


- Gjør ACL etter kilden for innkommende nettverk konfigurasjonsfilen 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

- Sett utgående adresse for hver2 kilde nettverk i konfigurasjonsfilen 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

- Hvile service blekksprut

Aksje og nyt:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogosphere News
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Slashdot
  • StumbleUpon
  • Technorati
  • Print
  • email
Avreise en Svar 3242 visninger, 13 så langt i dag |

Related Posts

Follow Discussion

2 Responses to “Squid Proxy Server med flere IP”

  1. tetembak Says:

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

  2. adhint Says:

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

Avreise en Svar




View My Stats