#!/bin/bash # # ALGT-HQNET IP Ranges - iptables/ipset rules # ASN: AS1605 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create algthqnet_v4 hash:net -exist ipset flush algthqnet_v4 # Add IPv4 ranges ipset add algthqnet_v4 98.187.3.0/24 ipset add algthqnet_v4 38.27.162.0/24 ipset add algthqnet_v4 8.28.118.0/24 ipset add algthqnet_v4 38.70.194.0/24 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set algthqnet_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set algthqnet_v4 src -j DROP echo "IP ranges for ALGT-HQNET loaded successfully!" echo "IPv4 ranges: 4" echo "IPv6 ranges: 0"