#!/bin/bash # # FIVE-COLLEGES-AS IP Ranges - iptables/ipset rules # ASN: AS1249 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create fivecollegesas_v4 hash:net -exist ipset flush fivecollegesas_v4 # Add IPv4 ranges ipset add fivecollegesas_v4 192.189.138.0/24 ipset add fivecollegesas_v4 192.80.83.0/24 ipset add fivecollegesas_v4 72.19.64.0/18 ipset add fivecollegesas_v4 128.119.0.0/16 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set fivecollegesas_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set fivecollegesas_v4 src -j DROP echo "IP ranges for FIVE-COLLEGES-AS loaded successfully!" echo "IPv4 ranges: 4" echo "IPv6 ranges: 0"