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
baidu_firewall.sh 553 Bytes
Copy Edit Web IDE Raw Blame History
Intern authored 2014-10-25 14:26 . 百度云加速
#!/bin/bash
echo "正在添加防火墙白名单,请稍候..."
iptables -A INPUT -s 183.60.235.0/24 -j ACCEPT
iptables -A INPUT -s 61.182.137.0/24 -j ACCEPT
iptables -A INPUT -s 222.216.190.0/24 -j ACCEPT
iptables -A INPUT -s 119.188.14.0/24 -j ACCEPT
iptables -A INPUT -s 61.155.149.0/24 -j ACCEPT
iptables -A INPUT -s 119.188.132.0/24 -j ACCEPT
iptables -A INPUT -s 117.34.28.0/24 -j ACCEPT
iptables -A INPUT -s 42.236.7.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