#!/bin/bash # # GEORGIA-TECH IP Ranges - iptables/ipset rules # ASN: AS2637 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create georgiatech_v4 hash:net -exist ipset flush georgiatech_v4 # Add IPv4 ranges ipset add georgiatech_v4 128.61.16.0/20 ipset add georgiatech_v4 128.61.64.0/20 ipset add georgiatech_v4 130.207.0.0/16 ipset add georgiatech_v4 128.61.128.0/17 ipset add georgiatech_v4 128.61.64.0/18 ipset add georgiatech_v4 38.110.42.0/24 ipset add georgiatech_v4 192.76.181.0/24 ipset add georgiatech_v4 128.61.48.0/20 ipset add georgiatech_v4 128.61.80.0/20 ipset add georgiatech_v4 128.61.0.0/19 ipset add georgiatech_v4 38.29.188.0/24 ipset add georgiatech_v4 128.61.32.0/19 ipset add georgiatech_v4 143.215.0.0/16 ipset add georgiatech_v4 38.110.46.0/24 ipset add georgiatech_v4 128.61.0.0/20 # Create IPv6 ipset ipset create georgiatech_v6 hash:net family inet6 -exist ipset flush georgiatech_v6 # Add IPv6 ranges ipset add georgiatech_v6 2001:468:300::/48 ipset add georgiatech_v6 2001:550:5605::/48 ipset add georgiatech_v6 2001:550:9005::/48 ipset add georgiatech_v6 2610:148::/32 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set georgiatech_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set georgiatech_v4 src -j DROP # ip6tables -A INPUT -m set --match-set georgiatech_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set georgiatech_v6 src -j DROP echo "IP ranges for GEORGIA-TECH loaded successfully!" echo "IPv4 ranges: 15" echo "IPv6 ranges: 4"