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 64.237.55.65/27 -> lama proxy port ftp ftp/tcp
64.237.55.65/27 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 64.237.55.83    21    <- -> 64.237.55.83    21    [216.203.43.254 50532]
	proxy ftp/6 use -11 flags 0
		proto 6 flags 0 bytes 2824 pkts 24 data YES size 344
	FTP Proxy:
		passok: 0
	Client:
		seq b4b3b64d (ack b4b3b64d) len 6 junk 0 cmds 0
		buf [FEAT\015\012\012p\015\012\000]
	Server:
		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 64.237.55.83
Connected to 64.237.55.83.
220 64.237.55.83 FTP server ready
Name (64.237.55.83:alexus): ftp
331 Anonymous login ok, send your complete email address as your password
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
ftp>
can someone help me?
-- 
http://alexus.org/
    
    
More information about the freebsd-questions
mailing list