transprent squid configuration problem
i will configure transprant squid 2.7 STABLE 3
my configuration is [ubuntu][redhat el5]
http_port 3128 transparent
acl lan src 172.16.20.0/24
http_access allow localhost
http_access allow lan
this the my simple configuration in
eth0=192.168.150.10 this is the wan interface
router ip is the gateway of the eth0 the ip is 192.168.150.5
eth1=172.16.20.1 this is the lan gateway
this is the my transparent squid configuration .
i run the squid server i dont see any error squid is running
this is the my iptables nat configuration
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to 192.168.150.10:3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
and enable the net.ipv4.ip_forward=1 the forwarding
i assign the clients gateway 172.16.20.1 for eth1 ip but net is not access for client machin i dont see any error (any port forwarding rule is need or not i don't no). please help me (and add the transparent squid futures )
is the traffic hitting the machine at all? run tcpdump on the squid machine to see.
note that in general transparent proxying is crap, and is very seldom going to actually give you what you think it will.
|All times are GMT -5. The time now is 12:02 AM.|