卸载阿里云盾全家桶 Feb 21st 2020 Words: 171

DO

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Uninstall script
wget -O - http://update.aegis.aliyun.com/download/uninstall.sh | sudo bash

wget -O - http://update.aegis.aliyun.com/download/quartz_uninstall.sh | sudo bash

sudo rm -r /usr/local/aegis*

# Add iptables rule
sudo iptables -I INPUT -s 140.205.201.0/28 -j DROP
sudo iptables -I INPUT -s 140.205.201.16/29 -j DROP
sudo iptables -I INPUT -s 140.205.201.32/28 -j DROP
sudo iptables -I INPUT -s 140.205.225.192/29 -j DROP
sudo iptables -I INPUT -s 140.205.225.200/30 -j DROP
sudo iptables -I INPUT -s 140.205.225.184/29 -j DROP
sudo iptables -I INPUT -s 140.205.225.183/32 -j DROP
sudo iptables -I INPUT -s 140.205.225.206/32 -j DROP
sudo iptables -I INPUT -s 140.205.225.205/32 -j DROP
sudo iptables -I INPUT -s 140.205.225.195/32 -j DROP
sudo iptables -I INPUT -s 140.205.225.204/32 -j DROP

# Install iptables-persistent
sudo apt install iptables-persistent

# Save current rules
iptables-save > /etc/iptables/rules.v4

EOF