सीखना लिनक्स कंटेनरों, Debian, Mikrotik, नेटवर्किंग, अनुमार्गण, विज्ञान और समर्थक

< Browse > घर / Linux, नेटवर्किंग, script / ब्लॉग के अनुच्छेद: विद्रूप एकाधिक प्रॉक्सी सर्वर के आईपी के साथ

विद्रूप एकाधिक प्रॉक्सी सर्वर के आईपी के साथ

June 18th, 2009 | 2 टिप्पणियाँ | पोस्ट में Linux, नेटवर्किंग, 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

साझा करें और आनंद लें:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogosphere News
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Slashdot
  • StumbleUpon
  • Technorati
  • Print
  • email
एक उत्तर दें छोड़ दो 3361 विचार, 1 अभी तक आज |
टैग: , , , ,

संबंधित पोस्ट

चर्चा का पालन करें

2 प्रतिक्रियाओं को “विद्रूप एकाधिक प्रॉक्सी सर्वर के आईपी के साथ”

  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… :)
     

एक उत्तर दें छोड़ दो




View My Stats