How to enable squid proxy to accept webtraffic from two networks - TechRepublic
Question
March 27, 2007 at 06:29 AM
bubloob_13

How to enable squid proxy to accept webtraffic from two networks

by bubloob_13 . Updated 19 years, 3 months ago

Dear All

I have two segment of network, one is 192.168.1.0 and other one is 192.168.100.0
My Airtel broadband connection is comes under 192.168.1.0 network and net connection is
shared to users by squid proxy. I have redhat 9, where i have configured transparent squid proxy
my proxy server ip is 192.168.1.6, both the network is connected to my cisco firewall.

Enabled the access list to ping my proxy server from 192.168.100.0 network. But my clients
PC’s are not able to access internet from 192.168.100.0 network.

Web traffic also enabled in firewall to pass through from 192.168.100.0 , but still i am not able to
browse.

Is’t required my proxy server should be connected 192.168.100.0 to receive web traffic??
Herewith enclosed my squid.conf for your reference.

#acl all src 0.0.0.0/0.0.0.0
acl lan1_blr src 192.168.1.0/255.255.255.0
acl lan2_blr src 192.168.100.0/255.255.255.0
acl msn_hosts src “/etc/squid/msn_hosts”
acl allowed_machines src “/etc/squid/allowed_machines”
acl support_staff src “/etc/squid/support_staff”
acl callcenter src “/etc/squid/callcenter”

acl rejected_urls url_regex “/etc/squid/rejected_urls”
acl allowed_urls dstdomain “/etc/squid/allowed_urls”
acl msn dstdomain “/etc/squid/msn”

http_access allow msn_hosts msn
http_access deny rejected_urls
http_access deny !allowed_machines
http_access deny !lan1_blr !lan2_blr
#http_access allow msn_hosts msn
http_access allow callcenter allowed_urls allowed_machines
http_access allow support_staff !callcenter
http_access allow all

Can anyone help me to solve this..

This discussion is locked

All Comments