리눅스 사례 연구, 데비안, Mikrotik, 네트워킹, 라우팅, 과학 및 지원

< Browse > / 리눅스, 네트워킹, 스크립트 / 블로그 기사: 스퀴드 프록시 서버에 여러 IP와

스퀴드 프록시 서버에 여러 IP와

June 18th, 2009 | 2 댓글 | 에 게시됨 리눅스, 네트워킹, 스크립트

- 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

공유하고 즐기십시오:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogosphere News
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Slashdot
  • StumbleUpon
  • Technorati
  • Print
  • email
Leave a Reply 회신을 남겨주 3254 플레이, 1 오늘까지 |
태그: , , , ,

관련 게시물

토론에 따라

2 응답 “스퀴드 프록시 서버에 여러 IP와”

  1. tetembak 달래:

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

  2. adhint 달래:

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

Leave a Reply 회신을 남겨주




보기 내 통계