-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cloudflare IP Subnet Firewall.txt
32 lines (32 loc) · 1.79 KB
/
Cloudflare IP Subnet Firewall.txt
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
27
28
29
30
31
32
======================================ADD=====================================
$ sudo ufw allow from 173.245.48.0/20 to any port 80
$ sudo ufw allow from 103.21.244.0/22 to any port 80
$ sudo ufw allow from 103.22.200.0/22 to any port 80
$ sudo ufw allow from 103.31.4.0/22 to any port 80
$ sudo ufw allow from 141.101.64.0/18 to any port 80
$ sudo ufw allow from 108.162.192.0/18 to any port 80
$ sudo ufw allow from 190.93.240.0/20 to any port 80
$ sudo ufw allow from 188.114.96.0/20 to any port 80
$ sudo ufw allow from 197.234.240.0/22 to any port 80
$ sudo ufw allow from 198.41.128.0/17 to any port 80
$ sudo ufw allow from 162.158.0.0/15 to any port 80
$ sudo ufw allow from 104.16.0.0/13 to any port 80
$ sudo ufw allow from 104.24.0.0/14 to any port 80
$ sudo ufw allow from 172.64.0.0/13 to any port 80
$ sudo ufw allow from 131.0.72.0/22 to any port 80
==================================DELETE=======================================
$ sudo ufw delete allow from 173.245.48.0/20 to any port 80
$ sudo ufw delete allow from 103.21.244.0/22 to any port 80
$ sudo ufw delete allow from 103.22.200.0/22 to any port 80
$ sudo ufw delete allow from 103.31.4.0/22 to any port 80
$ sudo ufw delete allow from 141.101.64.0/18 to any port 80
$ sudo ufw delete allow from 108.162.192.0/18 to any port 80
$ sudo ufw delete allow from 190.93.240.0/20 to any port 80
$ sudo ufw delete allow from 188.114.96.0/20 to any port 80
$ sudo ufw delete allow from 197.234.240.0/22 to any port 80
$ sudo ufw delete allow from 198.41.128.0/17 to any port 80
$ sudo ufw delete allow from 162.158.0.0/15 to any port 80
$ sudo ufw delete allow from 104.16.0.0/13 to any port 80
$ sudo ufw delete allow from 104.24.0.0/14 to any port 80
$ sudo ufw delete allow from 172.64.0.0/13 to any port 80
$ sudo ufw delete allow from 131.0.72.0/22 to any port 80