[KLUG Members] squid and transparent proxy

komal agencies_ad1 at sancharnet.in
Fri Jan 28 12:06:43 EST 2005


Hello
I am trying to configure transparent proxy with Squid. My configure is very
simple. On server, I have two LAN cards one is connected to ISP and another
is connected to local LAN. I want to know in transparent proxy how does
client resolve host name to IP address. I have enable IP forwarding on proxy
server. However, every time I try to connect to site i.e.
www.linux.org/contenet I receive error message that /content not found. I am
using ISP dns server for ip resolution. My iptables rules are following.

Iptabels -t nat -A postrouing -o eth0 -j MASQURADE
Iptables - t nat -A prerouting -I eth1 -p tcp -dport 80 -J
EDIRECt  --to-port 8080


Regards,

Komal







More information about the Members mailing list