开发者社区> 问答> 正文

iptables如何批量添加规则屏蔽IP?

iptables如何批量添加规则屏蔽IP?不是屏蔽某一个IP哦
我是说屏蔽一批没有规则的ip
比如 屏蔽下面这批IP:

121.161.70.106
175.195.114.223
121.164.172.213
121.190.181.70
58.21.14.96
183.109.204.215
220.255.1.111
118.114.225.161
119.112.87.61
58.42.250.174
59.28.209.247
61.109.95.103
211.149.205.10
218.37.29.159
220.255.1.175
122.35.4.53
27.40.253.99
61.97.214.59
59.188.252.214
218.239.243.135
121.161.70.106
175.195.114.223
121.164.172.213
121.190.181.70
58.21.14.96
183.109.204.215
220.255.1.111
118.114.225.161
119.112.87.61
58.42.250.174
59.28.209.247
61.109.95.103
211.149.205.10
218.37.29.159
220.255.1.175
122.35.4.53
27.40.253.99
61.97.214.59
59.188.252.214
218.239.243.135
175.195.114.223
58.21.14.96
183.109.204.215
220.255.1.111
119.112.87.61
119.204.114.116
75.84.220.34
211.60.106.148
59.28.209.247
211.149.205.10
218.37.29.159
220.255.1.175
58.141.8.62
60.6.82.5
27.40.253.99
120.136.99.222
61.97.214.59
59.188.252.214
123.194.60.24
218.239.243.135

展开
收起
wdlm.cn 2015-01-07 18:21:49 9215 0
1 条回答
写回答
取消 提交回答
  • 请大家帮帮忙

    -------------------------

    顶起继续求助

    2015-01-07 22:16:30
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载