PDA

View Full Version : how avoid Squid deny access?



sqd
15th July 2006, 08:59 AM
Hello,
my network looks as in this diagram: http://img99.imageshack.us/img99/5996/nwmy3.png

(squid,ssh) machine is at there. with two nics...

ifconfig show:
eth0 inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.0.0.0
and--
eth1 inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0

route show:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default 10.0.0.2 0.0.0.0 UG 0 0 0 eth0


I have problem is "access deny" from squid on PC1, PC2.

What rules would i add to squid.conf?

Thanks you.

pjfg
16th July 2006, 10:26 PM
Something like:

acl our_networks src 10.0.0.0/24
http_access allow our_networks