On 7/31/05, Muhammad Aurangzeb <maurangzeb@xxxxxxxxx> wrote: > i m running redhat linux enterprize edition and i configured squid and > internet was running on client's PC. > but when i was going to configure the transparents squid then it > causes problem and now internet is not running on client's PC. > > i also want to know, what i did wronge that causes that now internet > is not running. > now i want to tell my scenario > i have two PCs one on which squid server is running and second is the > client's PC. > i ve two thernet cards eth0 (internet provider connection) and eth1( > attacjhed to the client's PC). To make the squid server as > transparent i run this command > > iptables-t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT > --to-port 3128 > > .iptables-t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT > --to-port 3128 > > unfortunately i run above command on both interfaces and now internet > is not running. what is wronge in that. > I do not know much about linux but check this website: http://en.tldp.org/HOWTO/TransparentProxy.html -- Regards. Abu Khaled