- 论坛徽章:
- 0
|
回复 #41 ssffzz1 的帖子
我重启路由,最初的表是
Chain FORWARD (policy DROP)
target prot opt source destination
sysfw all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- 192.168.0.0/24 anywhere state NEW
Chain INPUT (policy DROP)
target prot opt source destination
sysfw all -- anywhere anywhere state NEW
re-admin all -- anywhere anywhere
lo-admin all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain lo-admin (1 references)
target prot opt source destination
ACCEPT all -- 192.168.0.0/24 anywhere
Chain p2pfw (0 references)
target prot opt source destination
Chain re-admin (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
Chain sysfw (2 references)
target prot opt source destination
DROP udp -- anywhere anywhere udp dpts:135:netbios-ssn
DROP tcp -- anywhere anywhere tcp dpts:135:netbios-ssn
DROP tcp -- anywhere anywhere tcp dpt:445
我加了你说是那两行后,表如下:
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- 192.168.0.0/24 220.181.6.6
ACCEPT all -- 192.168.0.0/24 220.181.37.55
DROP all -- anywhere anywhere
sysfw all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- 192.168.0.0/24 anywhere state NEW
Chain INPUT (policy DROP)
target prot opt source destination
sysfw all -- anywhere anywhere state NEW
re-admin all -- anywhere anywhere
lo-admin all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain lo-admin (1 references)
target prot opt source destination
ACCEPT all -- 192.168.0.0/24 anywhere
Chain p2pfw (0 references)
target prot opt source destination
Chain re-admin (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
Chain sysfw (2 references)
target prot opt source destination
DROP udp -- anywhere anywhere udp dpts:135:netbios-ssn
DROP tcp -- anywhere anywhere tcp dpts:135:netbios-ssn
DROP tcp -- anywhere anywhere tcp dpt:445
结果我上百度也上不去,整个网都断了。。 |
|