Redirectig Squid
Aldo S. Lagana
alagana@discmail.com
Wed, 23 Jan 2002 10:27:10 -0500
Yes I use that - and my squid redirect is identical to what you listed -
provided eth0 is your LAN - I am not an iptables expert, but I think you
must also accept port 80 in your ruleset...(INPUT chain I think)
Is the error you get a squid error, or a browser error?
If it is a squid error, then you either haven't setup squid for
transparent proxy (or your subnet is not allowed), if it is a browser
error, then squid is never getting the request...
aldo
-----Original Message-----
From: netfilter-admin@lists.samba.org
[mailto:netfilter-admin@lists.samba.org] On Behalf Of Arthur Meyer
Sent: Wednesday, January 23, 2002 10:09 AM
To: netfilter@lists.samba.org
Subject: Redirectig Squid
Hi all
I want to redirect Port 80 to Port 3128 (Squid)
I use iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j=20
REDIRECT --to-port 3128
All I get is illegal URL.=20
Has anybody tried to do the same thing? If I remove this=20
command, I can get through .
Thanks=20
Arthur
Arthur Meyer
Technische Berufsschule Z=FCrich
Technische Dienste
Ausstellungsstr. 70
8090 Z=FCrich