Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:www
ACCEPT 0 -- anywhere anywhere
DROP 0 -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
帮忙看看这个iptables,怎么ssh无法登录,提示port 22:connection refused
-
- 帖子: 8
- 注册时间: 2007-07-15 20:08
- aitilang
- 帖子: 1026
- 注册时间: 2007-04-28 21:38