August 29, 2006

[FreeBSD] Enable active mode FTP behind NAT

在 /etc/ipnat.conf 最前面加一行
map rl0 192.168.0.0/24 -> 0/32 proxy port 21 ftp/tcp
(rl0:網卡, 192.168.0.0/24: LAN 網段)
相當於 Linux 的 ip_nat_ftp + ip_conntrack_ftp module
ref. FreeBSD Handbook: 26.5.21 FTP and NAT

Posted by pank at August 29, 2006 12:25 AM
Comments
Post a comment













Remember personal info?