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
jsl_Firewall.sh 1.29 KB
Copy Edit Web IDE Raw Blame History
Intern authored 2014-10-25 15:04 . 更新ip段
#!/bin/bash
echo "正在添加防火墙白名单,请稍候..."
iptables -A INPUT -s 118.192.48.0/24 -j ACCEPT
iptables -A INPUT -s 180.96.20.0/24 -j ACCEPT
iptables -A INPUT -s 113.105.148.0/24 -j ACCEPT
iptables -A INPUT -s 221.10.36.0/24 -j ACCEPT
iptables -A INPUT -s 112.25.16.0/24 -j ACCEPT
iptables -A INPUT -s 61.182.137.0/24 -j ACCEPT
iptables -A INPUT -s 122.193.41.0/24 -j ACCEPT
iptables -A INPUT -s 103.15.194.0/24 -j ACCEPT
iptables -A INPUT -s 61.179.107.0/24 -j ACCEPT
iptables -A INPUT -s 123.103.64.0/24 -j ACCEPT
iptables -A INPUT -s 101.227.66.0/24 -j ACCEPT
iptables -A INPUT -s 61.154.102.0/24 -j ACCEPT
iptables -A INPUT -s 222.216.190.0/24 -j ACCEPT
iptables -A INPUT -s 61.155.149.0/24 -j ACCEPT
iptables -A INPUT -s 119.188.14.0/24 -j ACCEPT
iptables -A INPUT -s 121.14.143.0/24 -j ACCEPT
iptables -A INPUT -s 182.118.46.0/24 -j ACCEPT
iptables -A INPUT -s 180.76.3.0/24 -j ACCEPT
iptables -A INPUT -s 175.100.207.0/24 -j ACCEPT
iptables -A INPUT -s 123.151.182.0/24 -j ACCEPT
iptables -A INPUT -s 211.162.64.0/24 -j ACCEPT
iptables -A INPUT -s 59.52.28.0/24 -j ACCEPT
iptables -A INPUT -s 42.202.146.0/24 -j ACCEPT
iptables -A INPUT -s 218.60.56.0/24 -j ACCEPT
echo "添加防火墙白名单成功,现在您可以正常使用安全宝在线加速和防护服务了!"

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