you should use ftp proxy do this:
/etc/rc.conf
Append following line:
ftpproxy_enable="YES"
Open your /etc/pf.conf file and add following into your NAT section:
To activate it, put something like this in the NAT section of pf.conf:
nat-anchor "ftp-proxy/*"
rdr-anchor "ftp-proxy/*"
rdr pass proto tcp from any to any port ftp -> 127.0.0.1 port 8021
All three rules required, even if your setup does not use NAT. Find your filtering rule and append the following rules:
anchor "ftp-proxy/*"
use this link also
http://www.cyberciti.biz/faq/freebsd...configuration/
good look!!!