Chain INPUT (policy DROP)
target prot opt source destination
cfirewall all -- anywhere anywhere
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
[ 本帖最后由 chuizx 于 2008-8-15 10:48 编辑 ]作者: ssffzz1 时间: 2008-08-15 10:48
sysfw all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- 192.168.0.0/24 anywhere state NEW
你这样来加试试。作者: chuizx 时间: 2008-08-15 10:51 标题: 回复 #15 ssffzz1 的帖子 sysfw all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- 192.168.0.0/24 anywhere state NEW
这个样子应该就可以了的。你加了上面的2个命令然后再帖iptables -nvl我看看,要帖全哦。作者: chuizx 时间: 2008-08-15 13:11 标题: 回复 #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 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