[FreeBSD] Enable active mode FTP behind NAT

| | Comments (0)

在 /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

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on August 29, 2006 12:25 AM.

[Linux] Bonding was the previous entry in this blog.

RBLs is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.