LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 635|回复: 0

这样设置防火墙有没有问题?

[复制链接]
发表于 2004-11-30 20:19:34 | 显示全部楼层 |阅读模式

  1. [root@mydesktop test]# /sbin/iptables -L
  2. Chain INPUT (policy ACCEPT)
  3. target     prot opt source               destination
  4. RH-Lokkit-0-50-INPUT  all  --  anywhere             anywhere

  5. Chain FORWARD (policy ACCEPT)
  6. target     prot opt source               destination
  7. [color=red]RH-Lokkit-0-50-INPUT  all  --  anywhere             anywhere[/color]

  8. Chain OUTPUT (policy ACCEPT)
  9. target     prot opt source               destination

  10. Chain RH-Lokkit-0-50-INPUT (2 references)
  11. target     prot opt source               destination

  12. ACCEPT     udp  --  202.xxx.xxx.xxx  anywhere           udp spt:domain
  13. REJECT     tcp  --  anywhere             anywhere           tcp flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
  14. REJECT     udp  --  anywhere             anywhere           udp reject-with icmp-port-unreachable

复制代码


如果不转发,红色这条链是不是必要的?
:help:thank
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表