Re: [squid-users] How to configure transparent squid

From: Abu Khaled <khaled.abu@dont-contact.us>
Date: Sun, 31 Jul 2005 02:00:37 +0300

On 7/31/05, Muhammad Aurangzeb <maurangzeb@gmail.com> 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
Received on Sat Jul 30 2005 - 17:00:38 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:03 MDT