-
-
Save globian/5bd51e3b154257721509c1ed045a4763 to your computer and use it in GitHub Desktop.
UFW blocks for China, Korea, Malaysia, Phillipines, Singapore, Thailand and Vietnam netblocks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# UFW blocks for Asian countries except Japan | |
# Based on http://www.wizcrafts.net/chinese-iptables-blocklist.html | |
# https://www.ip2location.com/free/visitor-blocker | |
# Cambodia (KH) | |
ufw deny from 114.134.184.0/21 | |
# Chinese (CN) IP addresses follow: | |
ufw deny from 1.68.0.0/14 | |
ufw deny from 1.80.0.0/13 | |
ufw deny from 1.92.0.0/14 | |
ufw deny from 1.192.0.0/13 | |
ufw deny from 1.202.0.0/15 | |
ufw deny from 1.204.0.0/14 | |
ufw deny from 14.144.0.0/12 | |
ufw deny from 14.208.0.0/12 | |
ufw deny from 23.80.54.0/24 | |
ufw deny from 23.104.141.0/24 | |
ufw deny from 23.105.14.0/24 | |
ufw deny from 23.226.208.0/24 | |
ufw deny from 27.8.0.0/13 | |
ufw deny from 27.16.0.0/12 | |
ufw deny from 27.36.0.0/14 | |
ufw deny from 27.40.0.0/13 | |
ufw deny from 27.50.128.0/17 | |
ufw deny from 27.54.192.0/18 | |
ufw deny from 27.106.128.0/18 | |
ufw deny from 27.115.0.0/17 | |
ufw deny from 27.148.0.0/14 | |
ufw deny from 27.152.0.0/13 | |
ufw deny from 27.184.0.0/13 | |
ufw deny from 36.32.0.0/14 | |
ufw deny from 36.248.0.0/14 | |
ufw deny from 39.128.0.0/10 | |
ufw deny from 42.96.128.0/17 | |
ufw deny from 42.120.0.0/15 | |
ufw deny from 42.156.0.0/16 | |
ufw deny from 43.255.0.0/20 | |
ufw deny from 43.255.16.0/22 | |
ufw deny from 43.255.48.0/22 | |
ufw deny from 43.255.60.0/22 | |
ufw deny from 43.255.64.0/20 | |
ufw deny from 43.255.96.0/20 | |
ufw deny from 43.255.144.0/22 | |
ufw deny from 43.255.168.0/22 | |
ufw deny from 43.255.176.0/22 | |
ufw deny from 43.255.184.0/22 | |
ufw deny from 43.255.192.0/22 | |
ufw deny from 43.255.200.0/21 | |
ufw deny from 43.255.208.0/21 | |
ufw deny from 43.255.224.0/21 | |
ufw deny from 43.255.232.0/22 | |
ufw deny from 43.255.244.0/22 | |
ufw deny from 54.222.0.0/15 | |
ufw deny from 58.16.0.0/15 | |
ufw deny from 58.20.0.0/16 | |
ufw deny from 58.21.0.0/16 | |
ufw deny from 58.22.0.0/15 | |
ufw deny from 58.34.0.0/16 | |
ufw deny from 58.37.0.0/16 | |
ufw deny from 58.38.0.0/16 | |
ufw deny from 58.40.0.0/16 | |
ufw deny from 58.42.0.0/16 | |
ufw deny from 58.44.0.0/14 | |
ufw deny from 58.48.0.0/13 | |
ufw deny from 58.56.0.0/15 | |
ufw deny from 58.58.0.0/16 | |
ufw deny from 58.59.0.0/17 | |
ufw deny from 58.60.0.0/14 | |
ufw deny from 58.68.128.0/17 | |
ufw deny from 58.82.0.0/15 | |
ufw deny from 58.100.0.0/15 | |
ufw deny from 58.208.0.0/12 | |
ufw deny from 58.242.0.0/15 | |
ufw deny from 58.246.0.0/15 | |
ufw deny from 58.248.0.0/13 | |
ufw deny from 59.32.0.0/12 | |
ufw deny from 59.51.0.0/16 | |
ufw deny from 59.52.0.0/14 | |
ufw deny from 59.56.0.0/13 | |
ufw deny from 59.72.0.0/16 | |
ufw deny from 59.108.0.0/15 | |
ufw deny from 59.172.0.0/14 | |
ufw deny from 60.0.0.0/13 | |
ufw deny from 60.11.0.0/16 | |
ufw deny from 60.12.0.0/16 | |
ufw deny from 60.24.0.0/13 | |
ufw deny from 60.160.0.0/11 | |
ufw deny from 60.194.0.0/15 | |
ufw deny from 60.208.0.0/12 | |
ufw deny from 61.4.64.0/20 | |
ufw deny from 61.4.80.0/22 | |
ufw deny from 61.4.176.0/20 | |
ufw deny from 61.48.0.0/13 | |
ufw deny from 61.128.0.0/10 | |
ufw deny from 61.135.0.0/16 | |
ufw deny from 61.136.0.0/18 | |
ufw deny from 61.139.0.0/16 | |
ufw deny from 61.145.73.208/28 | |
ufw deny from 61.147.0.0/16 | |
ufw deny from 61.150.0.0/16 | |
ufw deny from 61.152.0.0/16 | |
ufw deny from 61.154.0.0/16 | |
ufw deny from 61.160.0.0/16 | |
ufw deny from 61.162.0.0/15 | |
ufw deny from 61.164.0.0/16 | |
ufw deny from 61.172.0.0/15 | |
ufw deny from 61.175.0.0/16 | |
ufw deny from 61.177.0.0/16 | |
ufw deny from 61.179.0.0/16 | |
ufw deny from 61.183.0.0/16 | |
ufw deny from 61.184.0.0/16 | |
ufw deny from 61.185.219.232/29 | |
ufw deny from 61.187.0.0/16 | |
ufw deny from 61.188.0.0/16 | |
ufw deny from 61.232.0.0/14 | |
ufw deny from 61.236.0.0/15 | |
ufw deny from 61.240.0.0/14 | |
ufw deny from 101.64.0.0/13 | |
ufw deny from 101.72.0.0/14 | |
ufw deny from 101.76.0.0/15 | |
ufw deny from 101.80.0.0/12 | |
ufw deny from 103.253.4.0/22 | |
ufw deny from 106.80.0.0/12 | |
ufw deny from 106.112.0.0/13 | |
ufw deny from 110.6.0.0/15 | |
ufw deny from 110.51.0.0/16 | |
ufw deny from 110.52.0.0/15 | |
ufw deny from 110.80.0.0/13 | |
ufw deny from 110.88.0.0/14 | |
ufw deny from 110.96.0.0/11 | |
ufw deny from 110.173.0.0/19 | |
ufw deny from 110.173.32.0/20 | |
ufw deny from 110.173.64.0/18 | |
ufw deny from 110.176.0.0/14 | |
ufw deny from 110.192.0.0/11 | |
ufw deny from 110.240.0.0/12 | |
ufw deny from 111.0.0.0/10 | |
ufw deny from 111.72.0.0/13 | |
ufw deny from 111.121.0.0/16 | |
ufw deny from 111.128.0.0/11 | |
ufw deny from 111.160.0.0/13 | |
ufw deny from 111.172.0.0/14 | |
ufw deny from 111.176.0.0/13 | |
ufw deny from 111.228.0.0/14 | |
ufw deny from 112.0.0.0/10 | |
ufw deny from 112.64.0.0/14 | |
ufw deny from 112.80.0.0/12 | |
ufw deny from 112.100.0.0/14 | |
ufw deny from 112.109.128.0/17 | |
ufw deny from 112.111.0.0/16 | |
ufw deny from 112.122.0.0/15 | |
ufw deny from 112.224.0.0/11 | |
ufw deny from 113.0.0.0/13 | |
ufw deny from 113.8.0.0/15 | |
ufw deny from 113.12.0.0/14 | |
ufw deny from 113.16.0.0/15 | |
ufw deny from 113.18.0.0/16 | |
ufw deny from 113.54.0.0/15 | |
ufw deny from 113.56.0.0/15 | |
ufw deny from 113.58.0.0/16 | |
ufw deny from 113.59.0.0/17 | |
ufw deny from 113.62.0.0/15 | |
ufw deny from 113.64.0.0/10 | |
ufw deny from 113.120.0.0/13 | |
ufw deny from 113.128.0.0/15 | |
ufw deny from 113.136.0.0/13 | |
ufw deny from 113.194.0.0/15 | |
ufw deny from 113.204.0.0/14 | |
ufw deny from 114.28.0.0/16 | |
ufw deny from 114.80.0.0/12 | |
ufw deny from 114.96.0.0/13 | |
ufw deny from 114.104.0.0/14 | |
ufw deny from 114.112.0.0/14 | |
ufw deny from 114.215.0.0/16 | |
ufw deny from 114.216.0.0/13 | |
ufw deny from 114.224.0.0/11 | |
ufw deny from 115.24.0.0/15 | |
ufw deny from 115.28.0.0/15 | |
ufw deny from 115.32.0.0/14 | |
ufw deny from 115.48.0.0/12 | |
ufw deny from 115.84.0.0/18 | |
ufw deny from 115.100.0.0/15 | |
ufw deny from 115.148.0.0/14 | |
ufw deny from 115.152.0.0/15 | |
ufw deny from 115.159.0.0/16 | |
ufw deny from 115.166.64.0/19 | |
ufw deny from 115.168.0.0/14 | |
ufw deny from 115.212.0.0/16 | |
ufw deny from 115.230.0.0/16 | |
ufw deny from 115.236.96.0/23 | |
ufw deny from 115.236.136.0/22 | |
ufw deny from 115.239.228.0/22 | |
ufw deny from 116.1.0.0/16 | |
ufw deny from 116.2.0.0/15 | |
ufw deny from 116.4.0.0/14 | |
ufw deny from 116.8.0.0/14 | |
ufw deny from 116.16.0.0/12 | |
ufw deny from 116.52.0.0/14 | |
ufw deny from 116.76.0.0/15 | |
ufw deny from 116.90.80.0/20 | |
ufw deny from 116.112.0.0/14 | |
ufw deny from 116.128.0.0/10 | |
ufw deny from 116.204.0.0/15 | |
ufw deny from 116.207.0.0/16 | |
ufw deny from 116.208.0.0/14 | |
ufw deny from 116.224.0.0/12 | |
ufw deny from 116.254.128.0/18 | |
ufw deny from 117.8.0.0/13 | |
ufw deny from 117.21.0.0/16 | |
ufw deny from 117.22.0.0/15 | |
ufw deny from 117.24.0.0/13 | |
ufw deny from 117.32.0.0/13 | |
ufw deny from 117.40.0.0/14 | |
ufw deny from 117.44.0.0/15 | |
ufw deny from 117.60.0.0/14 | |
ufw deny from 117.79.224.0/20 | |
ufw deny from 117.80.0.0/12 | |
ufw deny from 117.128.0.0/10 | |
ufw deny from 118.26.0.0/16 | |
ufw deny from 118.72.0.0/13 | |
ufw deny from 118.112.0.0/13 | |
ufw deny from 118.120.0.0/14 | |
ufw deny from 118.132.0.0/14 | |
ufw deny from 118.144.0.0/14 | |
ufw deny from 118.180.0.0/14 | |
ufw deny from 118.186.0.0/15 | |
ufw deny from 118.192.0.0/15 | |
ufw deny from 118.248.0.0/13 | |
ufw deny from 119.0.0.0/13 | |
ufw deny from 119.8.0.0/16 | |
ufw deny from 119.10.0.0/17 | |
ufw deny from 119.18.192.0/20 | |
ufw deny from 119.36.0.0/16 | |
ufw deny from 119.57.0.0/16 | |
ufw deny from 119.60.0.0/16 | |
ufw deny from 119.88.0.0/14 | |
ufw deny from 119.96.0.0/13 | |
ufw deny from 119.112.0.0/13 | |
ufw deny from 119.120.0.0/13 | |
ufw deny from 119.128.0.0/12 | |
ufw deny from 119.144.0.0/14 | |
ufw deny from 119.164.0.0/14 | |
ufw deny from 119.176.0.0/12 | |
ufw deny from 119.233.0.0/16 | |
ufw deny from 120.0.0.0/12 | |
ufw deny from 120.24.0.0/14 | |
ufw deny from 120.32.0.0/13 | |
ufw deny from 120.40.0.0/14 | |
ufw deny from 120.68.0.0/14 | |
ufw deny from 120.80.0.0/13 | |
ufw deny from 120.192.0.0/10 | |
ufw deny from 121.0.16.0/20 | |
ufw deny from 121.8.0.0/13 | |
ufw deny from 121.16.0.0/12 | |
ufw deny from 121.32.0.0/14 | |
ufw deny from 121.40.0.0/14 | |
ufw deny from 121.60.0.0/14 | |
ufw deny from 121.76.0.0/15 | |
ufw deny from 121.100.128.0/17 | |
ufw deny from 121.196.0.0/14 | |
ufw deny from 121.204.0.0/14 | |
ufw deny from 121.224.0.0/12 | |
ufw deny from 122.10.128.0/17 | |
ufw deny from 122.51.128.0/17 | |
ufw deny from 122.64.0.0/11 | |
ufw deny from 122.96.0.0/15 | |
ufw deny from 122.119.0.0/16 | |
ufw deny from 122.136.0.0/13 | |
ufw deny from 122.156.0.0/14 | |
ufw deny from 122.188.0.0/14 | |
ufw deny from 122.192.0.0/14 | |
ufw deny from 122.198.0.0/16 | |
ufw deny from 122.200.64.0/18 | |
ufw deny from 122.224.0.0/12 | |
ufw deny from 123.4.0.0/14 | |
ufw deny from 123.8.0.0/13 | |
ufw deny from 123.52.0.0/14 | |
ufw deny from 123.56.0.0/14 | |
ufw deny from 123.64.0.0/11 | |
ufw deny from 123.97.128.0/17 | |
ufw deny from 123.100.0.0/19 | |
ufw deny from 123.112.0.0/12 | |
ufw deny from 123.128.0.0/13 | |
ufw deny from 123.138.0.0/15 | |
ufw deny from 123.150.0.0/15 | |
ufw deny from 123.152.0.0/13 | |
ufw deny from 123.164.0.0/14 | |
ufw deny from 123.180.0.0/14 | |
ufw deny from 123.184.0.0/14 | |
ufw deny from 123.196.0.0/15 | |
ufw deny from 123.232.0.0/14 | |
ufw deny from 123.249.0.0/16 | |
ufw deny from 124.42.64.0/18 | |
ufw deny from 124.64.0.0/15 | |
ufw deny from 124.67.0.0/16 | |
ufw deny from 124.72.0.0/16 | |
ufw deny from 124.73.0.0/16 | |
ufw deny from 124.88.0.0/16 | |
ufw deny from 124.114.0.0/15 | |
ufw deny from 124.126.0.0/15 | |
ufw deny from 124.128.0.0/13 | |
ufw deny from 124.160.0.0/15 | |
ufw deny from 124.162.0.0/16 | |
ufw deny from 124.163.0.0/16 | |
ufw deny from 124.192.0.0/15 | |
ufw deny from 124.200.0.0/13 | |
ufw deny from 124.226.0.0/15 | |
ufw deny from 124.228.0.0/14 | |
ufw deny from 124.236.0.0/14 | |
ufw deny from 124.240.0.0/17 | |
ufw deny from 124.240.128.0/18 | |
ufw deny from 124.248.0.0/17 | |
ufw deny from 125.36.0.0/14 | |
ufw deny from 125.40.0.0/13 | |
ufw deny from 125.64.0.0/12 | |
ufw deny from 125.79.0.0/16 | |
ufw deny from 125.80.0.0/13 | |
ufw deny from 125.88.0.0/13 | |
ufw deny from 125.104.0.0/13 | |
ufw deny from 125.112.0.0/12 | |
ufw deny from 125.210.0.0/15 | |
ufw deny from 139.129.0.0/16 | |
ufw deny from 139.208.0.0/13 | |
ufw deny from 140.224.0.0/16 | |
ufw deny from 140.237.0.0/16 | |
ufw deny from 140.246.0.0/16 | |
ufw deny from 140.249.0.0/16 | |
ufw deny from 142.4.117.0/30 | |
ufw deny from 159.226.0.0/16 | |
ufw deny from 171.34.0.0/15 | |
ufw deny from 171.36.0.0/14 | |
ufw deny from 171.40.0.0/13 | |
ufw deny from 171.88.0.0/13 | |
ufw deny from 171.116.0.0/14 | |
ufw deny from 171.208.0.0/12 | |
ufw deny from 175.0.0.0/12 | |
ufw deny from 175.16.0.0/13 | |
ufw deny from 175.24.0.0/14 | |
ufw deny from 175.30.0.0/15 | |
ufw deny from 175.42.0.0/15 | |
ufw deny from 175.44.0.0/16 | |
ufw deny from 175.46.0.0/15 | |
ufw deny from 175.48.0.0/12 | |
ufw deny from 175.64.0.0/11 | |
ufw deny from 175.102.0.0/16 | |
ufw deny from 175.106.128.0/17 | |
ufw deny from 175.146.0.0/15 | |
ufw deny from 175.148.0.0/14 | |
ufw deny from 175.152.0.0/14 | |
ufw deny from 175.160.0.0/12 | |
ufw deny from 175.178.0.0/16 | |
ufw deny from 175.184.128.0/18 | |
ufw deny from 175.185.0.0/16 | |
ufw deny from 175.186.0.0/15 | |
ufw deny from 175.188.0.0/14 | |
ufw deny from 180.76.0.0/16 | |
ufw deny from 180.96.0.0/11 | |
ufw deny from 180.136.0.0/13 | |
ufw deny from 180.152.0.0/13 | |
ufw deny from 180.160.0.0/12 | |
ufw deny from 180.208.0.0/15 | |
ufw deny from 182.18.0.0/17 | |
ufw deny from 182.32.0.0/12 | |
ufw deny from 182.88.0.0/14 | |
ufw deny from 182.112.0.0/12 | |
ufw deny from 182.128.0.0/12 | |
ufw deny from 183.0.0.0/10 | |
ufw deny from 183.64.0.0/13 | |
ufw deny from 183.128.0.0/12 | |
ufw deny from 183.148.0.0/16 | |
ufw deny from 183.160.0.0/12 | |
ufw deny from 183.184.0.0/13 | |
ufw deny from 183.192.0.0/11 | |
ufw deny from 192.34.109.224/28 | |
ufw deny from 192.74.224.0/19 | |
ufw deny from 198.2.203.64/28 | |
ufw deny from 198.2.212.160/28 | |
ufw deny from 202.43.144.0/22 | |
ufw deny from 202.46.32.0/19 | |
ufw deny from 202.66.0.0/16 | |
ufw deny from 202.75.208.0/20 | |
ufw deny from 202.96.0.0/12 | |
ufw deny from 202.111.160.0/19 | |
ufw deny from 202.112.0.0/14 | |
ufw deny from 202.117.0.0/16 | |
ufw deny from 202.165.176.0/20 | |
ufw deny from 202.196.80.0/20 | |
ufw deny from 203.69.0.0/16 | |
ufw deny from 203.86.0.0/18 | |
ufw deny from 203.86.64.0/19 | |
ufw deny from 203.93.0.0/16 | |
ufw deny from 203.169.160.0/19 | |
ufw deny from 203.171.224.0/20 | |
ufw deny from 203.195.160.0/23 | |
ufw deny from 210.5.0.0/19 | |
ufw deny from 210.14.128.0/19 | |
ufw deny from 210.21.0.0/16 | |
ufw deny from 210.32.0.0/14 | |
ufw deny from 210.51.0.0/16 | |
ufw deny from 210.52.0.0/15 | |
ufw deny from 210.77.0.0/16 | |
ufw deny from 210.192.96.0/19 | |
ufw deny from 211.76.96.0/20 | |
ufw deny from 211.78.208.0/20 | |
ufw deny from 211.86.144.0/20 | |
ufw deny from 211.90.0.0/15 | |
ufw deny from 211.92.0.0/14 | |
ufw deny from 211.96.0.0/13 | |
ufw deny from 211.136.0.0/13 | |
ufw deny from 211.144.12.0/22 | |
ufw deny from 211.144.96.0/19 | |
ufw deny from 211.144.160.0/20 | |
ufw deny from 211.147.0.0/16 | |
ufw deny from 211.150.0.0/15 | |
ufw deny from 211.152.0.0/14 | |
ufw deny from 211.157.32.0/19 | |
ufw deny from 211.160.0.0/13 | |
ufw deny from 211.233.70.0/24 | |
ufw deny from 218.0.0.0/11 | |
ufw deny from 218.56.0.0/13 | |
ufw deny from 218.64.0.0/11 | |
ufw deny from 218.84.0.0/14 | |
ufw deny from 218.88.0.0/13 | |
ufw deny from 218.96.0.0/14 | |
ufw deny from 218.102.0.0/16 | |
ufw deny from 218.104.0.0/14 | |
ufw deny from 218.108.0.0/15 | |
ufw deny from 218.194.80.0/20 | |
ufw deny from 218.200.0.0/13 | |
ufw deny from 218.240.0.0/13 | |
ufw deny from 219.128.0.0/11 | |
ufw deny from 219.154.0.0/15 | |
ufw deny from 219.223.192.0/18 | |
ufw deny from 219.232.0.0/16 | |
ufw deny from 219.234.80.0/20 | |
ufw deny from 219.235.0.0/16 | |
ufw deny from 220.112.0.0/16 | |
ufw deny from 220.154.0.0/15 | |
ufw deny from 220.160.0.0/11 | |
ufw deny from 220.181.0.0/16 | |
ufw deny from 220.191.0.0/16 | |
ufw deny from 220.192.0.0/12 | |
ufw deny from 220.228.70.0/24 | |
ufw deny from 220.242.0.0/15 | |
ufw deny from 220.248.0.0/14 | |
ufw deny from 220.250.0.0/19 | |
ufw deny from 220.252.0.0/16 | |
ufw deny from 221.0.0.0/12 | |
ufw deny from 221.122.0.0/15 | |
ufw deny from 221.172.0.0/14 | |
ufw deny from 221.176.0.0/13 | |
ufw deny from 221.192.0.0/14 | |
ufw deny from 221.200.0.0/14 | |
ufw deny from 221.204.0.0/15 | |
ufw deny from 221.206.0.0/16 | |
ufw deny from 221.207.0.0/16 | |
ufw deny from 221.208.0.0/12 | |
ufw deny from 221.212.0.0/15 | |
ufw deny from 221.214.0.0/15 | |
ufw deny from 221.216.0.0/13 | |
ufw deny from 221.224.0.0/13 | |
ufw deny from 221.228.0.0/14 | |
ufw deny from 221.232.0.0/13 | |
ufw deny from 222.32.0.0/11 | |
ufw deny from 222.64.0.0/12 | |
ufw deny from 222.80.0.0/12 | |
ufw deny from 222.132.0.0/14 | |
ufw deny from 222.136.0.0/13 | |
ufw deny from 222.160.0.0/14 | |
ufw deny from 222.168.0.0/13 | |
ufw deny from 222.172.222.0/24 | |
ufw deny from 222.176.0.0/13 | |
ufw deny from 222.184.0.0/13 | |
ufw deny from 222.200.0.0/16 | |
ufw deny from 222.208.0.0/13 | |
ufw deny from 222.219.0.0/16 | |
ufw deny from 222.220.0.0/15 | |
ufw deny from 222.240.0.0/13 | |
ufw deny from 223.4.0.0/14 | |
ufw deny from 223.64.0.0/11 | |
ufw deny from 223.144.0.0/12 | |
ufw deny from 223.240.0.0/13 | |
# Hong Kong (HK) | |
ufw deny from 58.65.232.0/21 | |
ufw deny from 59.148.0.0/15 | |
ufw deny from 61.244.0.0/16 | |
ufw deny from 103.253.96.0/22 | |
ufw deny from 103.253.140.0/22 | |
ufw deny from 110.173.48.0/20 | |
ufw deny from 112.121.160.0/19 | |
ufw deny from 112.213.64.0/20 | |
ufw deny from 112.213.96.0/19 | |
ufw deny from 113.10.128.0/17 | |
ufw deny from 113.28.160.0/19 | |
ufw deny from 113.252.0.0/14 | |
ufw deny from 118.99.0.0/18 | |
ufw deny from 118.140.0.0/14 | |
ufw deny from 121.127.224.0/19 | |
ufw deny from 122.10.0.0/17 | |
ufw deny from 123.242.229.0/24 | |
ufw deny from 147.8.0.0/16 | |
ufw deny from 180.235.134.0/24 | |
ufw deny from 202.69.64.0/19 | |
ufw deny from 202.85.128.0/19 | |
ufw deny from 202.133.8.0/21 | |
ufw deny from 203.78.32.0/21 | |
ufw deny from 203.198.0.0/16 | |
ufw deny from 203.218.0.0/16 | |
ufw deny from 210.176.0.0/19 | |
ufw deny from 210.176.48.0/20 | |
ufw deny from 210.176.64.0/18 | |
ufw deny from 210.176.128.0/17 | |
ufw deny from 210.209.64.0/18 | |
ufw deny from 218.103.0.0/16 | |
ufw deny from 218.250.0.0/16 | |
ufw deny from 218.252.0.0/14 | |
ufw deny from 219.76.0.0/14 | |
ufw deny from 219.90.112.0/20 | |
ufw deny from 222.166.0.0/16 | |
ufw deny from 223.16.0.0/14 | |
# India (IN), Bangladesh (BD) and Pakistan (PK) | |
ufw deny from 1.39.0.0/16 | |
ufw deny from 1.186.38.0/24 | |
ufw deny from 14.96.0.0/14 | |
ufw deny from 14.139.0.0/16 | |
ufw deny from 14.194.0.0/15 | |
ufw deny from 27.97.0.0/16 | |
ufw deny from 27.248.0.0/14 | |
ufw deny from 27.255.0.0/18 | |
ufw deny from 27.255.128.0/24 | |
ufw deny from 39.32.0.0/11 | |
ufw deny from 43.246.140.0/24 | |
ufw deny from 49.14.0.0/15 | |
ufw deny from 49.200.0.0/14 | |
ufw deny from 49.248.0.0/17 | |
ufw deny from 59.88.0.0/13 | |
ufw deny from 59.96.0.0/14 | |
ufw deny from 59.160.0.0/14 | |
ufw deny from 59.164.0.0/15 | |
ufw deny from 59.176.0.0/13 | |
ufw deny from 59.184.0.0/15 | |
ufw deny from 61.247.238.0/24 | |
ufw deny from 101.56.0.0/13 | |
ufw deny from 101.212.0.0/16 | |
ufw deny from 101.216.0.0/16 | |
ufw deny from 103.194.12.0/22 | |
ufw deny from 103.194.20.0/22 | |
ufw deny from 103.194.24.0/21 | |
ufw deny from 103.194.32.0/22 | |
ufw deny from 103.243.52.0/22 | |
ufw deny from 103.243.56.0/21 | |
ufw deny from 106.51.0.0/16 | |
ufw deny from 106.76.0.0/14 | |
ufw deny from 106.192.0.0/11 | |
ufw deny from 110.224.0.0/16 | |
ufw deny from 110.232.248.0/24 | |
ufw deny from 112.110.0.0/16 | |
ufw deny from 113.19.0.0/16 | |
ufw deny from 113.212.64.0/19 | |
ufw deny from 114.31.224.0/20 | |
ufw deny from 115.108.0.0/14 | |
ufw deny from 115.112.0.0/13 | |
ufw deny from 115.166.128.0/20 | |
ufw deny from 115.167.24.0/24 | |
ufw deny from 115.240.0.0/12 | |
ufw deny from 116.72.0.0/14 | |
ufw deny from 116.202.12.0/22 | |
ufw deny from 116.203.0.0/16 | |
ufw deny from 117.192.0.0/10 | |
ufw deny from 118.151.209.0/24 | |
ufw deny from 119.152.0.0/13 | |
ufw deny from 119.160.0.0/17 | |
ufw deny from 120.56.0.0/13 | |
ufw deny from 120.138.98.0/24 | |
ufw deny from 121.240.0.0/13 | |
ufw deny from 122.160.0.0/12 | |
ufw deny from 122.176.0.0/13 | |
ufw deny from 122.184.0.0/14 | |
ufw deny from 123.49.0.0/18 | |
ufw deny from 123.236.0.0/14 | |
ufw deny from 124.123.0.0/16 | |
ufw deny from 124.124.0.0/15 | |
ufw deny from 124.253.0.0/16 | |
ufw deny from 125.209.64.0/18 | |
ufw deny from 139.190.0.0/16 | |
ufw deny from 171.48.0.0/12 | |
ufw deny from 180.215.0.0/16 | |
ufw deny from 182.64.0.0/12 | |
ufw deny from 182.176.0.0/12 | |
ufw deny from 183.82.0.0/15 | |
ufw deny from 193.53.87.0/24 | |
ufw deny from 202.54.0.0/16 | |
ufw deny from 202.63.160.0/19 | |
ufw deny from 202.87.240.0/20 | |
ufw deny from 202.137.232.0/21 | |
ufw deny from 202.142.64.0/18 | |
ufw deny from 202.149.192.0/19 | |
ufw deny from 202.154.224.0/24 | |
ufw deny from 203.76.176.0/20 | |
ufw deny from 203.92.47.0/24 | |
ufw deny from 203.115.80.0/20 | |
ufw deny from 203.135.62.0/24 | |
ufw deny from 203.188.247.0/24 | |
ufw deny from 203.192.192.0/18 | |
ufw deny from 203.197.0.0/16 | |
ufw deny from 210.211.128.0/17 | |
ufw deny from 210.212.0.0/16 | |
ufw deny from 218.248.0.0/20 | |
ufw deny from 223.30.0.0/15 | |
ufw deny from 223.130.4.0/22 | |
ufw deny from 223.223.128.0/19 | |
ufw deny from 223.224.0.0/12 | |
# Indonesia (ID) | |
ufw deny from 36.84.0.0/16 | |
ufw deny from 49.50.4.0/22 | |
ufw deny from 49.50.8.0/22 | |
ufw deny from 103.253.0.0/22 | |
ufw deny from 110.136.176.0/20 | |
ufw deny from 110.139.0.0/16 | |
ufw deny from 111.95.0.0/16 | |
ufw deny from 114.79.18.0/24 | |
ufw deny from 115.166.96.0/19 | |
ufw deny from 116.12.40.0/21 | |
ufw deny from 116.66.200.0/21 | |
ufw deny from 116.254.96.0/21 | |
ufw deny from 118.96.0.0/15 | |
ufw deny from 118.99.64.0/18 | |
ufw deny from 118.137.96.0/19 | |
ufw deny from 119.110.68.0/24 | |
ufw deny from 119.235.16.0/20 | |
ufw deny from 119.252.162.0/24 | |
ufw deny from 120.160.0.0/11 | |
ufw deny from 124.6.36.0/22 | |
ufw deny from 124.195.124.0/24 | |
ufw deny from 125.164.64.0/19 | |
ufw deny from 125.165.128.0/18 | |
ufw deny from 139.192.0.0/14 | |
ufw deny from 180.241.128.0/17 | |
ufw deny from 180.242.0.0/16 | |
ufw deny from 180.248.128.0/18 | |
ufw deny from 180.249.0.0/16 | |
ufw deny from 180.251.0.0/18 | |
ufw deny from 202.57.0.0/19 | |
ufw deny from 202.158.32.0/19 | |
ufw deny from 202.162.192.0/20 | |
ufw deny from 202.162.208.0/24 | |
ufw deny from 203.130.192.0/18 | |
ufw deny from 222.124.168.0/24 | |
# Korea (KR) (including North Korea) IP addresses follow: | |
ufw deny from 1.208.0.0/12 | |
ufw deny from 1.224.0.0/11 | |
ufw deny from 14.32.0.0/11 | |
ufw deny from 14.64.0.0/11 | |
ufw deny from 27.115.128.0/17 | |
ufw deny from 27.255.64.0/18 | |
ufw deny from 58.72.0.0/13 | |
ufw deny from 58.120.0.0/13 | |
ufw deny from 58.140.0.0/14 | |
ufw deny from 58.148.0.0/14 | |
ufw deny from 58.180.40.0/21 | |
ufw deny from 58.224.0.0/12 | |
ufw deny from 59.0.0.0/11 | |
ufw deny from 59.86.192.0/18 | |
ufw deny from 59.186.0.0/15 | |
ufw deny from 61.32.0.0/13 | |
ufw deny from 61.40.0.0/14 | |
ufw deny from 61.72.0.0/13 | |
ufw deny from 61.80.0.0/15 | |
ufw deny from 61.96.0.0/12 | |
ufw deny from 61.110.16.0/20 | |
ufw deny from 61.248.0.0/13 | |
ufw deny from 101.79.0.0/16 | |
ufw deny from 110.8.0.0/13 | |
ufw deny from 110.45.0.0/16 | |
ufw deny from 112.144.0.0/12 | |
ufw deny from 112.160.0.0/11 | |
ufw deny from 112.216.0.0/13 | |
ufw deny from 113.30.64.0/18 | |
ufw deny from 114.29.0.0/17 | |
ufw deny from 114.108.0.0/17 | |
ufw deny from 114.108.128.0/18 | |
ufw deny from 114.200.0.0/13 | |
ufw deny from 115.0.0.0/12 | |
ufw deny from 115.16.0.0/13 | |
ufw deny from 115.40.0.0/15 | |
ufw deny from 115.68.0.0/16 | |
ufw deny from 115.88.0.0/13 | |
ufw deny from 116.40.0.0/16 | |
ufw deny from 116.45.176.0/20 | |
ufw deny from 116.93.192.0/19 | |
ufw deny from 116.120.0.0/13 | |
ufw deny from 117.110.0.0/15 | |
ufw deny from 118.32.0.0/11 | |
ufw deny from 118.128.0.0/14 | |
ufw deny from 118.216.0.0/13 | |
ufw deny from 119.64.0.0/13 | |
ufw deny from 119.192.0.0/11 | |
ufw deny from 120.50.64.0/18 | |
ufw deny from 121.78.0.0/16 | |
ufw deny from 121.88.0.0/16 | |
ufw deny from 121.101.224.0/19 | |
ufw deny from 121.127.64.0/18 | |
ufw deny from 121.127.128.0/18 | |
ufw deny from 121.128.0.0/10 | |
ufw deny from 121.254.0.0/16 | |
ufw deny from 122.32.0.0/13 | |
ufw deny from 122.44.112.0/20 | |
ufw deny from 122.99.128.0/17 | |
ufw deny from 123.111.0.0/16 | |
ufw deny from 123.140.0.0/14 | |
ufw deny from 123.212.0.0/14 | |
ufw deny from 123.248.0.0/16 | |
ufw deny from 124.0.0.0/15 | |
ufw deny from 124.50.87.161 | |
ufw deny from 124.136.0.0/14 | |
ufw deny from 124.217.192.0/19 | |
ufw deny from 125.128.0.0/11 | |
ufw deny from 125.176.0.0/12 | |
ufw deny from 125.240.0.0/13 | |
ufw deny from 125.248.0.0/14 | |
ufw deny from 143.248.0.0/16 | |
ufw deny from 166.104.0.0/16 | |
ufw deny from 168.188.0.0/16 | |
ufw deny from 175.45.176.0/22 | |
ufw deny from 175.112.0.0/12 | |
ufw deny from 180.64.0.0/13 | |
ufw deny from 180.224.0.0/13 | |
ufw deny from 202.30.0.0/15 | |
ufw deny from 202.133.16.0/20 | |
ufw deny from 202.179.176.0/21 | |
ufw deny from 203.226.0.0/15 | |
ufw deny from 203.228.0.0/14 | |
ufw deny from 203.244.0.0/14 | |
ufw deny from 203.248.0.0/13 | |
ufw deny from 210.93.0.0/16 | |
ufw deny from 210.94.0.0/15 | |
ufw deny from 210.108.0.0/14 | |
ufw deny from 210.112.0.0/14 | |
ufw deny from 210.117.128.0/18 | |
ufw deny from 210.118.216.192/26 | |
ufw deny from 210.124.0.0/14 | |
ufw deny from 210.178.0.0/15 | |
ufw deny from 210.180.0.0/15 | |
ufw deny from 210.204.0.0/15 | |
ufw deny from 210.210.192.0/18 | |
ufw deny from 210.219.0.0/16 | |
ufw deny from 210.220.0.0/14 | |
ufw deny from 211.32.0.0/12 | |
ufw deny from 211.48.0.0/15 | |
ufw deny from 211.50.0.0/15 | |
ufw deny from 211.52.0.0/15 | |
ufw deny from 211.54.0.0/15 | |
ufw deny from 211.56.0.0/14 | |
ufw deny from 211.62.35.0/24 | |
ufw deny from 211.104.0.0/13 | |
ufw deny from 211.112.0.0/13 | |
ufw deny from 211.168.0.0/13 | |
ufw deny from 211.176.0.0/12 | |
ufw deny from 211.192.0.0/12 | |
ufw deny from 211.208.0.0/14 | |
ufw deny from 211.216.0.0/13 | |
ufw deny from 211.224.0.0/13 | |
ufw deny from 211.232.0.0/13 | |
ufw deny from 211.240.0.0/12 | |
ufw deny from 218.36.0.0/14 | |
ufw deny from 218.48.0.0/13 | |
ufw deny from 218.144.0.0/12 | |
ufw deny from 218.209.0.0/16 | |
ufw deny from 218.232.0.0/14 | |
ufw deny from 218.236.0.0/14 | |
ufw deny from 219.240.0.0/15 | |
ufw deny from 219.248.0.0/13 | |
ufw deny from 219.250.88.0/21 | |
ufw deny from 220.72.0.0/13 | |
ufw deny from 220.80.0.0/13 | |
ufw deny from 220.95.88.0/24 | |
ufw deny from 220.118.0.0/16 | |
ufw deny from 220.119.0.0/16 | |
ufw deny from 221.128.0.0/12 | |
ufw deny from 221.144.0.0/12 | |
ufw deny from 221.160.0.0/13 | |
ufw deny from 221.168.0.0/16 | |
ufw deny from 221.163.46.0/24 | |
ufw deny from 222.96.0.0/12 | |
ufw deny from 222.112.0.0/13 | |
ufw deny from 222.120.0.0/15 | |
ufw deny from 222.122.0.0/16 | |
ufw deny from 222.231.0.0/18 | |
ufw deny from 222.232.0.0/13 | |
# Yahoo-Korea (provides free email services used by some spammers) | |
ufw deny from 123.0.0.0/20 | |
# Neighboring Asian countries: | |
# Malaysia (MY) | |
ufw deny from 27.131.32.0/24 | |
ufw deny from 60.48.0.0/14 | |
ufw deny from 60.52.0.0/15 | |
ufw deny from 60.54.0.0/16 | |
ufw deny from 110.159.0.0/16 | |
ufw deny from 112.137.160.0/20 | |
ufw deny from 113.23.128.0/17 | |
ufw deny from 115.132.0.0/14 | |
ufw deny from 116.197.0.0/17 | |
ufw deny from 116.206.0.0/16 | |
ufw deny from 118.100.0.0/15 | |
ufw deny from 119.110.96.0/20 | |
ufw deny from 120.50.48.0/20 | |
ufw deny from 120.140.0.0/15 | |
ufw deny from 124.82.0.0/16 | |
ufw deny from 124.217.224.0/19 | |
ufw deny from 161.139.0.0/16 | |
ufw deny from 175.136.0.0/13 | |
ufw deny from 180.72.0.0/14 | |
ufw deny from 182.54.192.0/19 | |
ufw deny from 202.58.80.0/20 | |
ufw deny from 202.71.96.0/20 | |
ufw deny from 202.75.32.0/19 | |
ufw deny from 202.188.0.0/18 | |
ufw deny from 202.190.0.0/16 | |
ufw deny from 203.106.0.0/16 | |
ufw deny from 203.217.176.0/22 | |
ufw deny from 203.223.128.0/19 | |
ufw deny from 210.187.49.0/25 | |
ufw deny from 218.111.0.0/16 | |
ufw deny from 218.208.12.64/27 | |
# Philippines (PH) | |
ufw deny from 27.110.144.0/20 | |
ufw deny from 37.0.120.0/21 | |
ufw deny from 85.92.152.0/21 | |
ufw deny from 110.5.64.0/21 | |
ufw deny from 111.235.80.0/20 | |
ufw deny from 112.201.128.0/17 | |
ufw deny from 112.202.0.0/16 | |
ufw deny from 120.28.64.0/18 | |
ufw deny from 122.54.125.73 | |
ufw deny from 125.60.128.0/17 | |
ufw deny from 125.212.52.0/22 | |
ufw deny from 125.212.56.0/22 | |
ufw deny from 180.193.64.0/19 | |
ufw deny from 202.52.54.0/23 | |
ufw deny from 202.133.192.0/24 | |
ufw deny from 202.146.184.0/23 | |
ufw deny from 222.127.32.0/19 | |
ufw deny from 222.127.64.0/19 | |
# Singapore (SG) | |
ufw deny from 58.185.18.0/28 | |
ufw deny from 59.189.0.0/16 | |
ufw deny from 116.12.48.0/21 | |
ufw deny from 116.14.0.0/15 | |
ufw deny from 116.251.223.0/24 | |
ufw deny from 121.6.0.0/15 | |
ufw deny from 165.21.0.0/16 | |
ufw deny from 180.210.200.0/21 | |
ufw deny from 182.23.147.0/24 | |
ufw deny from 192.169.40.0/23 | |
ufw deny from 203.92.64.0/18 | |
ufw deny from 203.117.0.0/24 | |
ufw deny from 218.186.0.0/16 | |
ufw deny from 218.212.0.0/16 | |
ufw deny from 219.74.0.0/15 | |
ufw deny from 219.75.0.0/17 | |
# Taiwan (TW) | |
ufw deny from 1.160.0.0/12 | |
ufw deny from 1.200.0.0/16 | |
ufw deny from 36.224.0.0/12 | |
ufw deny from 59.112.0.0/12 | |
ufw deny from 60.198.0.0/15 | |
ufw deny from 60.249.0.0/16 | |
ufw deny from 60.250.0.0/15 | |
ufw deny from 61.31.0.0/16 | |
ufw deny from 61.56.0.0/16 | |
ufw deny from 61.59.0.0/16 | |
ufw deny from 61.63.0.0/16 | |
ufw deny from 61.67.128.0/17 | |
ufw deny from 61.216.0.0/14 | |
ufw deny from 61.220.0.0/14 | |
ufw deny from 61.224.0.0/14 | |
ufw deny from 61.228.0.0/14 | |
ufw deny from 110.24.0.0/13 | |
ufw deny from 110.50.128.0/18 | |
ufw deny from 111.240.0.0/12 | |
ufw deny from 112.213.48.0/20 | |
ufw deny from 114.24.0.0/14 | |
ufw deny from 114.32.0.0/12 | |
ufw deny from 115.80.0.0/14 | |
ufw deny from 115.85.144.0/20 | |
ufw deny from 117.19.0.0/16 | |
ufw deny from 118.160.0.0/13 | |
ufw deny from 122.116.0.0/15 | |
ufw deny from 122.118.0.0/16 | |
ufw deny from 122.120.0.0/13 | |
ufw deny from 122.254.0.0/18 | |
ufw deny from 123.51.128.0/17 | |
ufw deny from 123.240.0.0/15 | |
ufw deny from 124.8.0.0/14 | |
ufw deny from 125.224.0.0/13 | |
ufw deny from 140.109.0.0/16 | |
ufw deny from 140.110.0.0/15 | |
ufw deny from 140.112.0.0/12 | |
ufw deny from 140.128.0.0/13 | |
ufw deny from 140.136.0.0/15 | |
ufw deny from 140.138.0.0/16 | |
ufw deny from 163.13.0.0/16 | |
ufw deny from 163.14.0.0/15 | |
ufw deny from 163.16.0.0/12 | |
ufw deny from 163.24.0.0/16 | |
ufw deny from 163.32.0.0/16 | |
ufw deny from 175.96.0.0/14 | |
ufw deny from 203.64.0.0/14 | |
ufw deny from 203.71.0.0/16 | |
ufw deny from 203.72.0.0/16 | |
ufw deny from 210.59.0.0/16 | |
ufw deny from 210.200.0.0/15 | |
ufw deny from 210.240.0.0/16 | |
ufw deny from 211.20.0.0/15 | |
ufw deny from 211.23.0.0/16 | |
ufw deny from 211.75.0.0/16 | |
ufw deny from 211.76.160.0/20 | |
ufw deny from 211.79.32.0/20 | |
ufw deny from 218.160.0.0/12 | |
ufw deny from 219.84.0.0/15 | |
ufw deny from 219.90.3.0/24 | |
ufw deny from 220.128.0.0/12 | |
# Thailand (TH) | |
ufw deny from 1.46.0.0/15 | |
ufw deny from 1.179.128.0/18 | |
ufw deny from 14.207.0.0/16 | |
ufw deny from 49.0.64.0/18 | |
ufw deny from 49.230.0.0/16 | |
ufw deny from 58.8.0.0/16 | |
ufw deny from 58.9.0.0/16 | |
ufw deny from 58.10.0.0/16 | |
ufw deny from 58.137.0.0/16 | |
ufw deny from 61.19.0.0/16 | |
ufw deny from 61.47.0.0/17 | |
ufw deny from 110.0.0.0/8 | |
ufw deny from 110.34.128.0/17 | |
ufw deny from 113.53.0.0/17 | |
ufw deny from 114.131.0.0/16 | |
ufw deny from 115.87.128.0/17 | |
ufw deny from 117.47.0.0/16 | |
ufw deny from 118.172.0.0/14 | |
ufw deny from 119.59.96.0/19 | |
ufw deny from 119.76.0.0/16 | |
ufw deny from 122.154.0.0/15 | |
ufw deny from 123.242.128.0/18 | |
ufw deny from 124.120.0.0/16 | |
ufw deny from 124.121.0.0/16 | |
ufw deny from 124.122.0.0/16 | |
ufw deny from 125.25.0.0/19 | |
ufw deny from 171.97.128.0/17 | |
ufw deny from 202.28.0.0/15 | |
ufw deny from 202.44.135.0/24 | |
ufw deny from 202.133.128.0/18 | |
ufw deny from 202.142.192.0/19 | |
ufw deny from 202.143.128.0/18 | |
ufw deny from 203.107.142.0/24 | |
ufw deny from 203.113.0.0/17 | |
ufw deny from 203.130.149.0/24 | |
ufw deny from 203.144.128.0/17 | |
ufw deny from 203.146.0.0/16 | |
ufw deny from 203.148.128.0/17 | |
ufw deny from 203.149.0.0/18 | |
ufw deny from 203.150.128.0/17 | |
ufw deny from 203.151.38.0/24 | |
ufw deny from 203.155.0.0/16 | |
ufw deny from 203.158.96.0/19 | |
ufw deny from 203.158.128.0/17 | |
ufw deny from 203.170.193.0/24 | |
ufw deny from 203.172.128.0/17 | |
ufw deny from 203.185.128.0/19 | |
ufw deny from 210.213.0.0/18 | |
ufw deny from 222.123.0.0/16 | |
ufw deny from 223.205.0.0/16 | |
ufw deny from 223.207.0.0/16 | |
# Vietnam (VN) | |
ufw deny from 1.52.0.0/14 | |
ufw deny from 14.160.0.0/11 | |
ufw deny from 27.64.0.0/12 | |
ufw deny from 42.112.0.0/13 | |
ufw deny from 58.186.0.0/15 | |
ufw deny from 112.78.0.0/20 | |
ufw deny from 112.197.0.0/16 | |
ufw deny from 112.213.80.0/20 | |
ufw deny from 113.22.0.0/16 | |
ufw deny from 113.23.0.0/17 | |
ufw deny from 113.160.0.0/11 | |
ufw deny from 115.72.0.0/13 | |
ufw deny from 115.84.176.0/22 | |
ufw deny from 116.96.0.0/12 | |
ufw deny from 116.118.0.0/17 | |
ufw deny from 117.0.0.0/13 | |
ufw deny from 118.68.0.0/14 | |
ufw deny from 118.99.13.0/24 | |
ufw deny from 123.16.0.0/12 | |
ufw deny from 125.234.0.0/15 | |
ufw deny from 171.224.0.0/11 | |
ufw deny from 175.100.64.0/20 | |
ufw deny from 180.93.0.0/16 | |
ufw deny from 183.80.0.0/16 | |
ufw deny from 183.81.0.0/17 | |
ufw deny from 183.91.0.0/19 | |
ufw deny from 202.78.227.0/24 | |
ufw deny from 203.113.128.0/18 | |
ufw deny from 203.162.0.0/16 | |
ufw deny from 203.205.0.0/18 | |
ufw deny from 203.210.192.0/18 | |
ufw deny from 210.211.96.0/19 | |
ufw deny from 210.245.80.0/20 | |
ufw deny from 220.231.124.0/22 | |
ufw deny from 222.252.0.0/14 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment