WDlinux官方论坛's Archiver

ansley 发表于 2011-11-30 11:40

安装2.0后,新建网站,FTP连接不上,不是530问题

[attach]55[/attach]
就停在那里了
如图,求解决,我装的是LNMP,系统是UNIX的

admin 发表于 2011-11-30 12:39

应该是被动模式的问题
可以停止iptables测试下,或是执行
iptables -I INPUT -p tcp -m state -m tcp --dport 20000:20500 --state NEW -j ACCEPT
或是在FTP里设置不使用被动模式

ansley 发表于 2011-11-30 15:15

不会弄,能不能帮我配置

276229381 发表于 2011-11-30 20:07

回复 3# ansley

iptables   相当于 win的防火墙
关闭linux的防火墙的命令是 :
service iptables stop

或者用ssh软件登陆  ssh  运行命令
iptables -I INPUT -p tcp -m state -m tcp --dport 20000:20500 --state NEW -j ACCEPT

3  或者在你的FTP软件 选项 设置里面  不使用被动模式

276229381 发表于 2011-11-30 20:07

[attach]56[/attach]

omaman 发表于 2011-12-1 15:28

iptables 修改了也不好用,奇怪。

lfghx 发表于 2011-12-2 09:43

**** 作者被禁止或删除 内容自动屏蔽 ****

xmmaster 发表于 2011-12-3 10:05

**** 作者被禁止或删除 内容自动屏蔽 ****

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.