#!/bin/sh # 2024-04-16 02:28:27 AO IPTABLES=/usr/sbin/iptables IPSET=/usr/sbin/ipset $IPSET create BLOCKLIST hash:net $IPSET add BLOCKLIST 41.63.160.0/19 $IPSET add BLOCKLIST 41.70.128.0/17 $IPSET add BLOCKLIST 41.72.0.0/18 $IPSET add BLOCKLIST 41.74.240.0/20 $IPSET add BLOCKLIST 41.78.16.0/22 $IPSET add BLOCKLIST 41.205.32.0/19 $IPSET add BLOCKLIST 41.207.228.0/22 $IPSET add BLOCKLIST 41.210.192.0/18 $IPSET add BLOCKLIST 41.216.236.0/22 $IPSET add BLOCKLIST 41.221.240.0/20 $IPSET add BLOCKLIST 41.222.200.0/22 $IPSET add BLOCKLIST 41.222.236.0/22 $IPSET add BLOCKLIST 41.222.248.0/21 $IPSET add BLOCKLIST 41.223.40.0/22 $IPSET add BLOCKLIST 41.223.100.0/22 $IPSET add BLOCKLIST 41.223.156.0/22 $IPSET add BLOCKLIST 41.223.164.0/22 $IPSET add BLOCKLIST 45.221.20.0/22 $IPSET add BLOCKLIST 80.88.9.0/24 $IPSET add BLOCKLIST 102.36.224.0/22 $IPSET add BLOCKLIST 102.64.60.0/22 $IPSET add BLOCKLIST 102.64.80.0/21 $IPSET add BLOCKLIST 102.130.64.0/21 $IPSET add BLOCKLIST 102.130.192.0/19 $IPSET add BLOCKLIST 102.131.40.0/21 $IPSET add BLOCKLIST 102.165.190.0/24 $IPSET add BLOCKLIST 105.168.0.0/13 $IPSET add BLOCKLIST 129.122.128.0/17 $IPSET add BLOCKLIST 154.0.64.0/18 $IPSET add BLOCKLIST 154.65.128.0/17 $IPSET add BLOCKLIST 154.66.80.0/22 $IPSET add BLOCKLIST 154.66.104.0/22 $IPSET add BLOCKLIST 154.116.128.0/17 $IPSET add BLOCKLIST 154.118.192.0/19 $IPSET add BLOCKLIST 154.127.128.0/17 $IPSET add BLOCKLIST 155.89.0.0/16 $IPSET add BLOCKLIST 156.0.199.0/24 $IPSET add BLOCKLIST 156.0.254.0/24 $IPSET add BLOCKLIST 160.119.240.0/22 $IPSET add BLOCKLIST 160.224.0.0/15 $IPSET add BLOCKLIST 169.239.32.0/22 $IPSET add BLOCKLIST 169.239.76.0/22 $IPSET add BLOCKLIST 169.239.108.0/22 $IPSET add BLOCKLIST 169.239.132.0/22 $IPSET add BLOCKLIST 169.255.88.0/22 $IPSET add BLOCKLIST 192.12.111.0/24 $IPSET add BLOCKLIST 196.1.15.0/24 $IPSET add BLOCKLIST 196.6.255.0/24 $IPSET add BLOCKLIST 196.11.189.0/24 $IPSET add BLOCKLIST 196.11.234.0/24 $IPSET add BLOCKLIST 196.13.109.0/24 $IPSET add BLOCKLIST 196.13.204.0/24 $IPSET add BLOCKLIST 196.13.243.0/24 $IPSET add BLOCKLIST 196.29.192.0/20 $IPSET add BLOCKLIST 196.32.192.0/21 $IPSET add BLOCKLIST 196.41.77.0/24 $IPSET add BLOCKLIST 196.41.82.0/24 $IPSET add BLOCKLIST 196.41.92.0/24 $IPSET add BLOCKLIST 196.43.197.0/24 $IPSET add BLOCKLIST 196.43.210.0/24 $IPSET add BLOCKLIST 196.43.223.0/24 $IPSET add BLOCKLIST 196.45.160.0/22 $IPSET add BLOCKLIST 196.46.21.0/24 $IPSET add BLOCKLIST 196.46.72.0/21 $IPSET add BLOCKLIST 196.49.6.0/24 $IPSET add BLOCKLIST 196.61.76.0/22 $IPSET add BLOCKLIST 196.202.252.0/22 $IPSET add BLOCKLIST 196.216.161.0/24 $IPSET add BLOCKLIST 196.216.198.0/23 $IPSET add BLOCKLIST 196.216.248.0/23 $IPSET add BLOCKLIST 196.223.1.0/24 $IPSET add BLOCKLIST 196.223.13.0/24 $IPSET add BLOCKLIST 196.223.19.0/24 $IPSET add BLOCKLIST 196.249.192.0/18 $IPSET add BLOCKLIST 196.250.248.0/22 $IPSET add BLOCKLIST 197.148.0.0/18 $IPSET add BLOCKLIST 197.148.88.0/21 $IPSET add BLOCKLIST 197.149.148.0/22 $IPSET add BLOCKLIST 197.157.196.0/22 $IPSET add BLOCKLIST 197.216.0.0/15 $IPSET add BLOCKLIST 197.241.128.0/17 $IPSET add BLOCKLIST 204.8.204.0/24 $IPTABLES -A INPUT -m set --match-set BLOCKLIST src -j DROP $IPTABLES -A OUTPUT -m set --match-set BLOCKLIST dst -j DROP