Redirectig Squid

Harald Welte laforge@gnumonks.org
Wed, 23 Jan 2002 16:59:16 +0100


On Wed, Jan 23, 2002 at 04:08:40PM +0100, Arthur Meyer wrote:
> 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
> REDIRECT --to-port 3128
> 
> All I get is illegal URL.
> 
> Has anybody  tried to do the same thing? If I remove this
> command, I can get through .

sorry, but...

does anybody actually bother reading the netfilter FAQ?

> Thanks
> Arthur

-- 
Live long and prosper
- Harald Welte / laforge@gnumonks.org               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M- 
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)