#!/bin/bash # # HOSTING IP Ranges - iptables/ipset rules # ASN: AS1824 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create hosting_v4 hash:net -exist ipset flush hosting_v4 # Add IPv4 ranges ipset add hosting_v4 208.78.158.0/24 ipset add hosting_v4 216.137.165.0/24 ipset add hosting_v4 192.252.132.0/24 ipset add hosting_v4 209.209.74.0/24 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set hosting_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set hosting_v4 src -j DROP echo "IP ranges for HOSTING loaded successfully!" echo "IPv4 ranges: 4" echo "IPv6 ranges: 0"