using iptables for transparent client proxy

Thorsten Müller thorsten.mueller@aachen.utimaco.de
Fri, 15 Jun 2001 14:19:05 +0200


Am Donnerstag, 14. Juni 2001 18:24 schrieb Rudi Sugiato:
> Hi,

> I tried to do this with iptables to screen all the packets going out
> (OUTPUT chain) to redirect the packet to another port (same machine) where
> my proxy application is listening. However, it turns out that the packet is
> going into infinite loop because my filter will redirect all tcp packet
> destined to port 21 (ftp).

Is it possible for your proxy to use an alias ip? Then it should be possible 
not to REDIRECT packets from that ip.