加载模块:
modprobe ip_nat_ftp
modprobe ip_conntrack
modprobe ip_conntrack_ftp
加上一条规则:
iptables -A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT
允许连接保持的被动访问。
第二条规则,一般原来的规则中已经存在。
Tags: ftp, iptables, modprobe
This entry was posted on 星期六, 二月 28th, 2009 at 18:41 and is filed under Linux.
You can follow any comments to this entry through the RSS 2.0 feed.
You can leave a comment, or trackback from your own site.