#!/bin/bash # # WEBHOSTINGHOLDINGS IP Ranges - iptables/ipset rules # ASN: AS965 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create webhostingholdings_v4 hash:net -exist ipset flush webhostingholdings_v4 # Add IPv4 ranges ipset add webhostingholdings_v4 199.30.13.0/24 ipset add webhostingholdings_v4 162.244.95.0/24 ipset add webhostingholdings_v4 23.129.252.0/22 ipset add webhostingholdings_v4 162.244.92.0/24 ipset add webhostingholdings_v4 160.30.208.0/24 ipset add webhostingholdings_v4 162.244.94.0/24 ipset add webhostingholdings_v4 193.108.130.0/24 ipset add webhostingholdings_v4 162.244.93.0/24 ipset add webhostingholdings_v4 23.172.137.0/24 # Create IPv6 ipset ipset create webhostingholdings_v6 hash:net family inet6 -exist ipset flush webhostingholdings_v6 # Add IPv6 ranges ipset add webhostingholdings_v6 2602:faa9:4000::/36 ipset add webhostingholdings_v6 2602:faa9:3000::/36 ipset add webhostingholdings_v6 2602:faa9:2000::/36 ipset add webhostingholdings_v6 2602:faa9:6000::/36 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set webhostingholdings_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set webhostingholdings_v4 src -j DROP # ip6tables -A INPUT -m set --match-set webhostingholdings_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set webhostingholdings_v6 src -j DROP echo "IP ranges for WEBHOSTINGHOLDINGS loaded successfully!" echo "IPv4 ranges: 9" echo "IPv6 ranges: 4"