Hello, I have working squid proxy properly but i want to set it up in
transparent mode. so i give my configuration in fact to helped by
someone with a beautiful heart jejeeje.

eth0 ip: 10.0.0.1 nm: 255.0.0.0.0 
eth1 ip: 192.168.0.1 nm: 255.255.255.0
eth2 ip: 192.168.1.1 nm: 255.255.255.0 (wlan)
ppp0 it is a pppoe connection connected via eth0

so internal packets come from eth1 and goes to ppp0 

i made a file called rc.nat containing these..

iptables=/sbin/iptables

iptables --flush -t nat

iptables --table nat --append POSTROUTING --out-interface ppp0 -j
MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT
--to-port 3128

but it doesn't work for good.

when i do a ping www.google.com from the client computer, ping said
"host unknown". 
can you help me please? what i'm doing wrong?

thanks
Regards
Guillermo Nardoni from Argentina.



Reply via email to