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

2005-07-30 Thread Daniel Navarro


Please delete those preroutings, you don´t need to
send internet into squid, squid will browse by itself.

Regards



 --- Muhammad Aurangzeb <[EMAIL PROTECTED]>
escribió:

> 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.
> 


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 


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

2005-07-30 Thread Abu Khaled
On 7/31/05, Muhammad Aurangzeb <[EMAIL PROTECTED]> 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


[squid-users] How to configure transparent squid

2005-07-30 Thread Muhammad Aurangzeb
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.