lnmp 安装FTP 无法连接服务器
已经安装成功了但是无法连接服务器[ 本帖最后由 poropro 于 2017-6-16 20:09 编辑 ] 检查vps上是否有防火墙的设置,服务商是否有另外的防火墙
回复 2# 的帖子
root@Cloud:~# sudo iptables -LChain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all--anywhere anywhere
ACCEPT all--anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp--anywhere anywhere tcp dpt:ssh
ACCEPT tcp--anywhere anywhere tcp dpt:http
ACCEPT tcp--anywhere anywhere tcp dpt:https
DROP tcp--anywhere anywhere tcp dpt:mysql
ACCEPT tcp--anywhere anywhere tcp dpt:ftp-data
ACCEPT tcp--anywhere anywhere tcp dpt:ftp
ACCEPT tcp--anywhere anywhere tcp dpts:20000:30000
ACCEPT icmp --anywhere anywhere icmp echo-request
fail2ban-sshtcp--anywhere anywhere multiport dports ssh
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-ssh (1 references)
target prot opt source destination
DROP all--138.160.113.181.static.pichincha.andinanet.netanywhere
DROP all--58.48.178.200 anywhere
RETURN all--anywhere anywhere
[ 本帖最后由 poropro 于 2017-6-17 10:59 编辑 ]
回复 3# 的帖子
按2楼说的排查其他问题看你安装了fail2ban,还需要你去确定一下你自己的ip没有ban
页:
[1]