全球主机交流论坛
标题:
为什么vr SSH改端口就无法访问呢?帮忙看看
[打印本页]
作者:
hugofrom0591
时间:
2013-4-12 20:51
标题:
为什么vr SSH改端口就无法访问呢?帮忙看看
我打了这命令
[root@good ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
作者:
hugofrom0591
时间:
2013-4-12 20:52
跟iptables有没关系?
作者:
WestLife
时间:
2013-4-12 21:13
新端口是什么? 加到iptables里没?
欢迎光临 全球主机交流论坛 (https://hostloc-workers.ikyomon.com/)
Powered by Discuz! X3.4