Problem with making transparent squid
i am using squid in redhat linux 9. i am using two ether, eth1 for internet
network and ether 0 for external network. Initially i had configured proxy on client end within IE. it was working fine. I need to make it transparent. i have changed rc.local in /etc.
echo "1" > /proc/sys/net/ipv4/ip_forward
iptables –t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
iptables –t nat –A POSTROUTING –o eht0 –j MASQUERADE
and also make changes in squid config file
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
When i had changed that squid giving slow response on clients.
i need not to change proxy settings in IE on clients end. I just need, squid should respond by entering gatway and dns of squid ip on client end.
Is there any body help me out
|