問題:
DOS 可以ftp , 其他 Linux 無法ftp 進入
有人說要更改iptables的設定, 方法如下,
ftp: connect: No route to host
ftp> ls
227 Entering Passive Mode (1,2,3,4,43,196)
ftp: connect: No route to host
ftp> passive
Passive mode off.
=========================
Try "modprobe ip_conntrack_ftp", if that helps. If yes, then you should
add that module to /etc/sysconfig/iptables-config.
In /etc/sysconfig/iptables-config try setting
IPTABLES_MODULES="ip_nat_ftp ip_conntrack_ftp"
and restart iptables.
最後增加一行
pasv_enable=NO
重新啟動vsftpd即可 !
如果不是不行,输入service