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 )
Last edited by mohanbsc; 09-08-2009 at 06:36 AM.
Reason: i miss the few steps
|