#!/bin/bash # # GOV-ISP-PAFB IP Ranges - iptables/ipset rules # ASN: AS1009 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create govisppafb_v4 hash:net -exist ipset flush govisppafb_v4 # Add IPv4 ranges ipset add govisppafb_v4 198.47.88.0/24 ipset add govisppafb_v4 198.47.80.0/21 ipset add govisppafb_v4 198.47.72.0/21 ipset add govisppafb_v4 198.47.64.0/23 ipset add govisppafb_v4 198.47.66.0/23 ipset add govisppafb_v4 198.47.68.0/22 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set govisppafb_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set govisppafb_v4 src -j DROP echo "IP ranges for GOV-ISP-PAFB loaded successfully!" echo "IPv4 ranges: 6" echo "IPv6 ranges: 0"