[pf4freebsd] Problem with ftp-proxy.

Matteo Niccoli matteo.niccoli at finsystem.net
Wed Sep 15 20:57:44 PDT 2004


Hi,

I'm using pf 2.0 on a FreeBSD 5.1 box. It works fine, but I have 
problem with ftp-proxy.

This is my pf.conf

nat on rl1 from 192.168.5.0/24 to any -> rl1
rdr on rl0 proto tcp from 192.168.5.0/24 to any port 21 -> 127.0.0.1 8021

pass in all
pass out all

.

In inetd.conf I've enable ftp-proxy with this row:

ftp-proxy stream tcp nowait root /usr/local/libexec/ftp-proxy ftp-proxy
-u proxy -D 3

But when i try to connect on a external ftp server from my pc in LAN,
It doesn't works. Also, if I try to use ftp-proxy with adavanced ftp client,
like gft, I can connect at ftp-proxy but doesn't work connection on
another ftp.

Bye.




More information about the freebsd-pf mailing list