iptable -L # 查看iptables 所有规则和状态
iptables -I INPUT -s 192.168.213.44 -j DROP #禁止本机与ip为192.168.213.44的所有连接
iptables -D INPUT 1 #删除第一条规则
service iptabes save #存到配置文件/etc/sysconfig/iptables 以实现开机自动运用规则
详见:
http://sinykk.iteye.com/blog/1217094
http://tech.ccidnet.com/art/9513/20070601/1098119_1.html
http://ziwuzhaoyang.blog.163.com/blog/static/676504520111030111818339/
http://www.2cto.com/os/201212/178521.html