[squid-users] Re: Info for Trasparent Ftp Proxy

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 23 Oct 2004 22:24:47 +0200 (CEST)

> Hy,
> i have set a http traspernt proxy with squid and rule in the firewall:
> iptables -A PREROUTING -t nat -i $LAN0 -p TCP --dport 80 -j REDIRECT
> --to-port 8080
> and it function perfectly.
>
> For the ftp i try with this rule:
> iptables -A PREROUTING -t nat -i $LAN0 -p TCP --dport 21 -j REDIRECT
> --to-port 8080
> but non function.

Squid is a HTTP proxy. You can't redirect the FTP protocol to a HTTP proxy
and expect it to function as the two protocols are fundamentally
different.

To proxy the FTP protocol (not only provide FTP access to HTTP clients)
you need a FTP proxy such as Frox (see Related Software).

Regards
Henrik
Received on Sat Oct 23 2004 - 14:24:49 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST