clearly you have read the ftp RFC's and know that
just rdr'ing port 21 is not enough to implement
passive ftp?

jim




[EMAIL PROTECTED] wrote:

i try to porting ipf into the SOHO adsl router. but ipnat is abnormal.in the virtual side i

have a ftp server, but i can not using passive mode to access server.i also try in the FreeBSD 4.5.but i can NOT work. who can help me..

interface(vr0,global,172.16.12.21) <-> ipnat <-> interface(vr1,virtal,10.10.10.1)

FTP Server is in the vr1, 10.10.10.2

my rule :

map vr0 10.10.10.0/24 -> 172.16.12.21/32 proxy port ftp ftp/tcp
map vr0 10.10.10.0/24 -> 172.16.12.21/32 portmap tcp/udp 40000:50000
map vr0 10.10.10.0/24 -> 172.16.12.21/32

rdr vr0 0.0.0.0/0 port 21 -> 10.10.10.2 port 21


Thx.......


Barret lee,

Taipei,Taiwan


Reply via email to