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