Skip to content

Instantly share code, notes, and snippets.

@Kaiyuan
Last active April 23, 2022 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kaiyuan/d71596bdc02cdc17048b9870e18e0eaa to your computer and use it in GitHub Desktop.
Save Kaiyuan/d71596bdc02cdc17048b9870e18e0eaa to your computer and use it in GitHub Desktop.
CentOS firewalld 添加 Cloudflare 和百度云加速白名单 访问 080 和 443 端口
#!/bin/bash
firewall-cmd --add-rich-rule="rule family="ipv4" source address="173.245.48.0/20" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="103.21.244.0/22" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="103.22.200.0/22" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="103.31.4.0/22" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="141.101.64.0/18" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="108.162.192.0/18" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="190.93.240.0/20" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="188.114.96.0/20" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="197.234.240.0/22" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="198.41.128.0/17" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="162.158.0.0/15" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="104.16.0.0/12" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="172.64.0.0/13" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="131.0.72.0/22" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="111.32.135.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="111.32.136.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="125.39.174.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="125.39.239.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="112.65.73.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="112.65.74.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="112.65.75.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.84.92.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.84.93.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="113.207.100.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="113.207.101.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="113.207.102.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="180.163.188.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="180.163.189.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="163.53.89.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="101.227.206.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="101.227.207.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.188.97.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.188.9.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.155.149.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.156.149.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.155.165.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.182.137.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.182.136.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="120.52.29.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="120.52.113.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="222.216.190.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="219.159.84.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.60.235.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="116.31.126.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="116.31.127.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="117.34.13.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="117.34.14.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="42.236.93.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="42.236.94.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.167.246.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="150.138.149.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="150.138.150.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="150.138.151.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="117.27.149.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="59.51.81.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="220.170.185.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="220.170.186.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.61.236.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="14.17.71.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.147.134.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="124.95.168.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="124.95.188.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.54.46.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.54.47.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="101.71.55.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="101.71.56.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.232.51.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.232.53.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="157.255.25.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="157.255.26.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="112.25.90.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="112.25.91.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="58.211.2.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="58.211.137.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="122.190.2.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="122.190.3.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.61.177.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.61.190.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="117.148.160.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="117.148.161.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="115.231.186.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="115.231.187.0/24" port protocol="tcp" port="80" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="173.245.48.0/20" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="103.21.244.0/22" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="103.22.200.0/22" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="103.31.4.0/22" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="141.101.64.0/18" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="108.162.192.0/18" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="190.93.240.0/20" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="188.114.96.0/20" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="197.234.240.0/22" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="198.41.128.0/17" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="162.158.0.0/15" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="104.16.0.0/12" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="172.64.0.0/13" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="131.0.72.0/22" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="111.32.135.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="111.32.136.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="125.39.174.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="125.39.239.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="112.65.73.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="112.65.74.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="112.65.75.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.84.92.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.84.93.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="113.207.100.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="113.207.101.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="113.207.102.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="180.163.188.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="180.163.189.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="163.53.89.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="101.227.206.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="101.227.207.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.188.97.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.188.9.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.155.149.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.156.149.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.155.165.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.182.137.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.182.136.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="120.52.29.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="120.52.113.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="222.216.190.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="219.159.84.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.60.235.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="116.31.126.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="116.31.127.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="117.34.13.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="117.34.14.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="42.236.93.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="42.236.94.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.167.246.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="150.138.149.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="150.138.150.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="150.138.151.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="117.27.149.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="59.51.81.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="220.170.185.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="220.170.186.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.61.236.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="14.17.71.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="119.147.134.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="124.95.168.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="124.95.188.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.54.46.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="61.54.47.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="101.71.55.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="101.71.56.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.232.51.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.232.53.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="157.255.25.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="157.255.26.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="112.25.90.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="112.25.91.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="58.211.2.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="58.211.137.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="122.190.2.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="122.190.3.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.61.177.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="183.61.190.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="117.148.160.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="117.148.161.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="115.231.186.0/24" port protocol="tcp" port="443" accept" ; firewall-cmd --add-rich-rule="rule family="ipv4" source address="115.231.187.0/24" port protocol="tcp" port="443" accept" && firewall-cmd --reload && echo "OK"
ufw allow from 103.21.244.0/22 to any port 80
ufw allow from 103.22.200.0/22 to any port 80
ufw allow from 103.31.4.0/22 to any port 80
ufw allow from 104.16.0.0/13 to any port 80
ufw allow from 104.24.0.0/14 to any port 80
ufw allow from 108.162.192.0/18 to any port 80
ufw allow from 131.0.72.0/22 to any port 80
ufw allow from 141.101.64.0/18 to any port 80
ufw allow from 162.158.0.0/15 to any port 80
ufw allow from 172.64.0.0/13 to any port 80
ufw allow from 173.245.48.0/20 to any port 80
ufw allow from 188.114.96.0/20 to any port 80
ufw allow from 190.93.240.0/20 to any port 80
ufw allow from 197.234.240.0/22 to any port 80
ufw allow from 198.41.128.0/17 to any port 80
ufw allow from 2400:cb00::/32 to any port 80
ufw allow from 2606:4700::/32 to any port 80
ufw allow from 2803:f800::/32 to any port 80
ufw allow from 2405:b500::/32 to any port 80
ufw allow from 2405:8100::/32 to any port 80
ufw allow from 2a06:98c0::/29 to any port 80
ufw allow from 2c0f:f248::/32 to any port 80
ufw allow from 103.21.244.0/22 to any port 443
ufw allow from 103.22.200.0/22 to any port 443
ufw allow from 103.31.4.0/22 to any port 443
ufw allow from 104.16.0.0/13 to any port 443
ufw allow from 104.24.0.0/14 to any port 443
ufw allow from 108.162.192.0/18 to any port 443
ufw allow from 131.0.72.0/22 to any port 443
ufw allow from 141.101.64.0/18 to any port 443
ufw allow from 162.158.0.0/15 to any port 443
ufw allow from 172.64.0.0/13 to any port 443
ufw allow from 173.245.48.0/20 to any port 443
ufw allow from 188.114.96.0/20 to any port 443
ufw allow from 190.93.240.0/20 to any port 443
ufw allow from 197.234.240.0/22 to any port 443
ufw allow from 198.41.128.0/17 to any port 443
ufw allow from 2400:cb00::/32 to any port 443
ufw allow from 2606:4700::/32 to any port 443
ufw allow from 2803:f800::/32 to any port 443
ufw allow from 2405:b500::/32 to any port 443
ufw allow from 2405:8100::/32 to any port 443
ufw allow from 2a06:98c0::/29 to any port 443
ufw allow from 2c0f:f248::/32 to any port 443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment