#!/bin/bash # # AS-PRP-001 IP Ranges - iptables/ipset rules # ASN: AS1070 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create asprp001_v4 hash:net -exist ipset flush asprp001_v4 # Add IPv4 ranges ipset add asprp001_v4 204.138.85.0/24 ipset add asprp001_v4 204.138.87.0/24 ipset add asprp001_v4 204.138.84.0/24 ipset add asprp001_v4 204.138.86.0/24 ipset add asprp001_v4 204.138.80.0/24 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set asprp001_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set asprp001_v4 src -j DROP echo "IP ranges for AS-PRP-001 loaded successfully!" echo "IPv4 ranges: 5" echo "IPv6 ranges: 0"