http://man.chinaunix.net/network/iptables-tutorial-cn-1.1.19.html
我的开发环境提交到svn后别的同时总是连我本机的很多服务器搞的混乱不看和性能低下,一狠心都给禁了。
Chain INPUT (policy DROP)
target prot opt
source
destination
ACCEPT all --
192.168.0.240
0.0.0.0/0
ACCEPT all --
192.168.0.241
0.0.0.0/0
ACCEPT all --
0.0.0.0/0
0.0.0.0/0
ACCEPT all --
0.0.0.0/0
0.0.0.0/0 state
RELATED,ESTABLISHED
Chain FORWARD (policy
DROP)
target prot opt
source
destination
Chain OUTPUT
(policy ACCEPT)
target prot opt
source
destination
原文:http://www.cnblogs.com/jvava/p/3627857.html