Shawls' blog,Program and Route

Thinking in Life!

博客园 首页 新随笔 联系 订阅 管理

2005年11月30日 #

摘要: 我在Firewall的Output里面加入了阻断非内网icmp的数据包然而,我忽然发现,ROS无法ping外部地址了一检查,是在阻断非内网的icmp数据包的时候,把ROS的数据包也阻断了。要解决这个问题,最好的就是使用or的方式,但是,ROS偏偏没有orfirewall的rule比较呆痴,没有办法用:not X or not Y的形式,郁闷啊而且,IP也不能输入多个IP段,只能是一个IP或... 阅读全文
posted @ 2005-11-30 13:51 Shawls 阅读(391) 评论(0) 推荐(0) 编辑

摘要: 缺少两个点,造成无法完成,有个时候就是要那么一点点! 0 ;;; 透明代理--OK chain=dstnat src-address=192.168.1.0/24 protocol=tcp src-port=0-65535 dst-port=80 action=dst-nat to-addresses=192.168.1.1 to-ports=8008 1 ;;... 阅读全文
posted @ 2005-11-30 03:23 Shawls 阅读(396) 评论(0) 推荐(0) 编辑