I installed Squid proxy in one machine. I tried FTP transfer between another host.
In the squid.conf file, http_port 3128, http_access local allow,FTP allow,.. I given.
In Mozilla browser settings, http proxy option, I provide local IP and port 3128.
MY host have 2 network interfaces.
eth0= 192.168.14.168, eth1= 192.168.14.169.
eth0 is default route.
Mozilla http proxy is 192.168.14.168, port 3128. iptables settings,
iptables -t nat -A PREROUTING -i eth0 -s ! 192.168.14.168 -p tcp --dport 80 -j DNAT --to 192.168.14.168:3128 iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/16 -d squid-box -j SNAT --to 192.168.14.168
But when I ftp to the remote host (192.168.14.170), always connection establishes.
If suppose I stop squid proxy , that time also remote host FTP working in the browser.
If all traffic via squid means, once I stopped squid FTP should not work in Mozill to the remote host, but it happening.
So, the traffic not goes via squid.
But, i set 3128 as
What is my setup problem. Please provide me the suggestion.
Thanks and Regards, Kumarraj