Pf, ftp-proxy and proftp running into a jail

David Marec david.marec at davenulle.org
Sun Oct 5 15:00:59 UTC 2008


hi,

I am trying to get protftp running into a jail, avalaible from outside the 
host.

First, i wrote rules to redirect ftp traffic from ext_if to the jail and to 
nat jailled traffic to ext_if.
After login, the data connection keeps being closed in passive mode; the 
active mode is running well.

then, i tried to use ftp-proxy, by adding the following entries into rc.conf:
 ftpproxy_enable="yes"
 ftpproxy_flags="-vv -R ftp.server.address -p 21 -b ext.if"

and followed the tutorial i found on the openbsd website:
http://www.openbsd.org/faq/pf/ftp.html

But, i can't even connect to the ftp server.

What is the right way to use ftp-proxy ?

The pf.conf file could be loaded from here:
http://user.lamaiziere.net/david/pf/pf.conf
-- 
http://www.freebsd.org/fr/			http://www.arcadehits.net/
http://www.diablotins.org/


More information about the freebsd-pf mailing list