-   Linux - Server (
-   -   transprent squid configuration problem (

mohanbsc 09-08-2009 07:26 AM

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
http_access allow localhost
http_access allow lan

this the my simple configuration in
eth0= this is the wan interface
router ip is the gateway of the eth0 the ip is
eth1= 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
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 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 )

acid_kewpie 09-08-2009 07:30 AM

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 02:19 PM.