【简单学习shell】iptables命令实用

 构造设备离线iptables命令
iptables -I INPUT -p all -s 10.71.115.159 -j DROP 断链
iptables -I INPUT -p all -s 10.71.166.111 -j ACCEPT 恢复
iptables的具体信息可见:http://3ms.huawei.com/hi/group/2422/wiki_31200.html

posted @ 2015-08-24 16:03  Amberly  阅读(317)  评论(0编辑  收藏  举报