LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Problem with making transparent squid (https://www.linuxquestions.org/questions/linux-server-73/problem-with-making-transparent-squid-653022/)

Jazlearner 07-02-2008 04:54 AM

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


All times are GMT -5. The time now is 12:49 AM.