ftp-proxy with pf

Ivan Levchenko levchenko.i at gmail.com
Sun Aug 13 19:36:05 UTC 2006


Hi everybody,

having some troubles with ftp-proxy on my gateway at home: the darn
thing gets me connected to an outside ftp server, but won't let me do
anything else with it.

the gateway computer is freebsd (it is running pf with nat to share
and secure a pppoe connection); the client computer is running kubuntu
6.06.

here is what i get when trying to connect to a ftp server behind the nat:

$ ftp ftp.freebsd.org
Connected to ftp.freebsd.org.
220 ftp.FreeBSD.org NcFTPd Server (licensed copy) ready.
Name (ftp.freebsd.org:ivan): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230-You are user #112 of 1000 simultaneous users allowed.
230-
230 Logged in anonymously.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
550 Data connection must go to same host as control connection.
ftp: bind: Address already in use
ftp>

or i get this error when connecting to a different ftp server (vsftpd):
500 Illegal PORT command.
ftp: bind: Address already in use.

i read the ftp-proxy and pf.conf man pages and have google-ed more
than my brain can comprehend but still no answer for this.

i attached the conf files for pf.conf and inetd.conf

any help (the right keyword to google with will be nice too!!!) will be great!

--
Best Regards,

Ivan Levchenko
levchenko.i at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inetd.conf
Type: application/octet-stream
Size: 5339 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20060813/63251bbd/inetd.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pf.conf
Type: application/octet-stream
Size: 3848 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20060813/63251bbd/pf.obj


More information about the freebsd-pf mailing list