4 Star 1 Fork 0

Intern / Firewall Whitelist

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
newdefend_firewall.sh 883 Bytes
Copy Edit Web IDE Raw Blame History
Intern authored 2015-05-11 18:48 . 增加牛盾节点
#!/bin/bash
echo "正在添加防火墙白名单,请稍候..."
iptables -A INPUT -s 113.31.27.0/16 -j ACCEPT
iptables -A INPUT -s 113.31.87.0/16 -j ACCEPT
iptables -A INPUT -s 183.56.172.0/16 -j ACCEPT
iptables -A INPUT -s 222.186.19.0/16 -j ACCEPT
iptables -A INPUT -s 119.97.146.0/16 -j ACCEPT
iptables -A INPUT -s 122.226.182.0/16 -j ACCEPT
iptables -A INPUT -s 123.149.54.0/16 -j ACCEPT
iptables -A INPUT -s 112.253.12.0/16 -j ACCEPT
iptables -A INPUT -s 221.204.202.0/16 -j ACCEPT
iptables -A INPUT -s 125.39.21.0/16 -j ACCEPT
iptables -A INPUT -s 42.236.6.0/16 -j ACCEPT
iptables -A INPUT -s 60.8.151.0/16 -j ACCEPT
iptables -A INPUT -s 115.231.91.0/16 -j ACCEPT
iptables -A INPUT -s 61.174.9.0/16 -j ACCEPT
iptables -A INPUT -s 120.92.248.0/16 -j ACCEPT
iptables -A INPUT -s 223.94.66.0/16 -j ACCEPT
echo "牛盾节点IP段添加防火墙白名单成功!"

Comment ( 0 )

Sign in for post a comment

Shell
1
https://gitee.com/intern/Firewall-Whitelist.git
git@gitee.com:intern/Firewall-Whitelist.git
intern
Firewall-Whitelist
Firewall Whitelist
master

Search