"nir cohen" <[EMAIL PROTECTED]> wrote: > Hi All > I install iptables and squid on the same machine in order to do transparent proxy to >my local web servers. > I have few web servers in my lan which I wish to give them fake ip . > So i configured iptables and squid and in my dns I wrote my iptables line and a >cname to the two servers
[SNIP] Your problem is in your iptables configuration: > here is my related iptables config: > $IPTABLES -t nat -A POSTROUTING -o $INET_IFACE -j SNAT --to-source $INET_IP > $IPTABLES -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j \ > DNAT --to 192.114.206.30:3128 Make that: $IPTABLES -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j \ REDIRECT --to-port 3128 Cheers, Juri -- Juri Haberland <[EMAIL PROTECTED]>
