- 论坛徽章:
- 0
|
回复 18# shenkangxyz
回复 17# 一路征程一路笑
[root@localhost6 ~]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:rockwell-csp2
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:isi-gl
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:10086
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ddi-tcp-1
DROP tcp -- anywhere anywhere tcp spt:mysql
DROP tcp -- anywhere anywhere tcp spt:ddi-tcp-1
DROP tcp -- anywhere anywhere tcp dpt:ddi-tcp-1
DROP tcp -- anywhere anywhere tcp spt:ddi-tcp-1
DROP tcp -- anywhere anywhere tcp dpt:ddi-tcp-1
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ncube-lm
DROP tcp -- anywhere anywhere tcp dpt:personal-agent
DROP tcp -- anywhere anywhere tcp dpt:ddi-tcp-1
DROP tcp -- anywhere anywhere tcp dpt:ddi-tcp-1
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:rockwell-csp2
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
DROP tcp -- anywhere anywhere tcp dpt:ddi-tcp-1
好像没看到
--------------------------------------------------------------------------------------------------------------
哥!你好好看看我标注的红字吧!!!防火墙是按顺序匹配执行的,你这么一些第一条规则就放行了一切端口!!!
后面写什么也白搭了!!!明了乎? |
|