iptables开始ftp

如果本机做FTP被访问

iptables -I INPUT -p tcp --dport 21 -m state --state NEW -j ACCEPT //开放21端口
iptables -I INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT //开放管理端口

posted on 2016-03-10 19:08  CloudSalt  阅读(160)  评论(0编辑  收藏  举报