ipnat proxy port ftp ftp/tcp

alexus alexus at gmail.com
Fri Sep 11 14:16:05 UTC 2009

I'm straggling to get my FTP to work

I'm running jail on my FreeBSD with proftpd and I use ipnat to forward
any requests to my box to that jail for that service
this is what i put inside of my ipnat.conf

rdr bce0 -> lama proxy port ftp ftp/tcp this is my public range
lama is my jail's name

when I get connected I get something like this when I do ipnat -l

RDR    21    <- ->    21    [ 50532]
	proxy ftp/6 use -11 flags 0
		proto 6 flags 0 bytes 2824 pkts 24 data YES size 344
	FTP Proxy:
		passok: 0
		seq b4b3b64d (ack b4b3b64d) len 6 junk 0 cmds 0
		buf [FEAT\015\012\012p\015\012\000]
		seq 970af81b (ack 970af8dc) len 193 junk 0 cmds 211
		buf [211 End\015\012e;\012 MLST modify*;perm*;size*;type*;unique*;UNIX\000]

and on my client I get this

mbp:~ alexus$ ftp
Connected to
220 FTP server ready
Name ( ftp
331 Anonymous login ok, send your complete email address as your password
230 Anonymous access granted, restrictions apply
Remote system type is UNIX.
Using binary mode to transfer files.

421 Service not available, remote server timed out. Connection closed.
ftp: No control connection for command

can someone help me?


More information about the freebsd-questions mailing list