#!/bin/sh # 2024-04-16 02:40:50 VG IPTABLES=/usr/sbin/iptables IPSET=/usr/sbin/ipset $IPSET create BLOCKLIST hash:net $IPSET add BLOCKLIST 23.130.224.0/24 $IPSET add BLOCKLIST 23.136.96.0/24 $IPSET add BLOCKLIST 23.137.112.0/24 $IPSET add BLOCKLIST 31.14.25.0/24 $IPSET add BLOCKLIST 31.14.26.0/23 $IPSET add BLOCKLIST 31.14.68.0/22 $IPSET add BLOCKLIST 37.153.140.0/22 $IPSET add BLOCKLIST 37.153.152.0/22 $IPSET add BLOCKLIST 46.102.101.0/24 $IPSET add BLOCKLIST 46.174.184.0/21 $IPSET add BLOCKLIST 66.81.192.0/20 $IPSET add BLOCKLIST 68.65.216.0/23 $IPSET add BLOCKLIST 74.113.104.0/22 $IPSET add BLOCKLIST 77.81.92.0/22 $IPSET add BLOCKLIST 85.204.172.0/22 $IPSET add BLOCKLIST 86.104.76.0/22 $IPSET add BLOCKLIST 89.32.64.0/21 $IPSET add BLOCKLIST 89.32.132.0/22 $IPSET add BLOCKLIST 89.32.176.0/21 $IPSET add BLOCKLIST 89.33.41.0/24 $IPSET add BLOCKLIST 89.35.96.0/20 $IPSET add BLOCKLIST 89.36.173.0/24 $IPSET add BLOCKLIST 89.36.174.0/24 $IPSET add BLOCKLIST 89.38.60.0/22 $IPSET add BLOCKLIST 89.38.152.0/22 $IPSET add BLOCKLIST 89.38.232.0/23 $IPSET add BLOCKLIST 89.38.234.0/24 $IPSET add BLOCKLIST 89.39.161.0/24 $IPSET add BLOCKLIST 89.40.96.0/22 $IPSET add BLOCKLIST 89.42.144.0/22 $IPSET add BLOCKLIST 89.42.160.0/22 $IPSET add BLOCKLIST 89.44.80.0/23 $IPSET add BLOCKLIST 89.44.83.0/24 $IPSET add BLOCKLIST 89.44.84.0/22 $IPSET add BLOCKLIST 89.46.33.0/24 $IPSET add BLOCKLIST 89.46.34.0/24 $IPSET add BLOCKLIST 89.46.38.0/24 $IPSET add BLOCKLIST 89.46.240.0/22 $IPSET add BLOCKLIST 89.46.244.0/23 $IPSET add BLOCKLIST 89.46.246.0/24 $IPSET add BLOCKLIST 89.47.170.0/23 $IPSET add BLOCKLIST 92.114.7.0/24 $IPSET add BLOCKLIST 92.114.60.0/22 $IPSET add BLOCKLIST 93.114.236.0/22 $IPSET add BLOCKLIST 93.119.20.0/22 $IPSET add BLOCKLIST 94.176.172.0/22 $IPSET add BLOCKLIST 94.177.128.0/22 $IPSET add BLOCKLIST 94.177.132.0/24 $IPSET add BLOCKLIST 94.177.134.0/23 $IPSET add BLOCKLIST 94.232.28.0/23 $IPSET add BLOCKLIST 98.158.96.0/20 $IPSET add BLOCKLIST 103.92.130.0/24 $IPSET add BLOCKLIST 103.133.182.0/23 $IPSET add BLOCKLIST 104.219.72.0/22 $IPSET add BLOCKLIST 104.245.88.0/22 $IPSET add BLOCKLIST 104.254.96.0/23 $IPSET add BLOCKLIST 104.254.124.0/22 $IPSET add BLOCKLIST 136.143.195.0/24 $IPSET add BLOCKLIST 142.54.20.0/22 $IPSET add BLOCKLIST 162.210.68.0/23 $IPSET add BLOCKLIST 162.218.24.0/22 $IPSET add BLOCKLIST 162.222.224.0/24 $IPSET add BLOCKLIST 162.251.87.0/24 $IPSET add BLOCKLIST 162.255.144.0/22 $IPSET add BLOCKLIST 172.102.0.0/22 $IPSET add BLOCKLIST 176.223.68.0/22 $IPSET add BLOCKLIST 176.223.104.0/22 $IPSET add BLOCKLIST 188.215.20.0/22 $IPSET add BLOCKLIST 188.241.24.0/23 $IPSET add BLOCKLIST 188.241.28.0/22 $IPSET add BLOCKLIST 193.109.246.0/23 $IPSET add BLOCKLIST 199.79.60.0/23 $IPSET add BLOCKLIST 199.91.96.0/21 $IPSET add BLOCKLIST 199.191.50.0/23 $IPSET add BLOCKLIST 199.204.232.0/21 $IPSET add BLOCKLIST 204.11.56.0/23 $IPSET add BLOCKLIST 206.71.15.0/24 $IPSET add BLOCKLIST 206.81.110.0/24 $IPSET add BLOCKLIST 208.64.44.0/22 $IPSET add BLOCKLIST 208.91.196.0/23 $IPTABLES -A INPUT -m set --match-set BLOCKLIST src -j DROP $IPTABLES -A OUTPUT -m set --match-set BLOCKLIST dst -j DROP