#!/bin/bash # # CHICAGO-PUBLIC-SCHOOLS IP Ranges - iptables/ipset rules # ASN: AS1416 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create chicagopublicschools_v4 hash:net -exist ipset flush chicagopublicschools_v4 # Add IPv4 ranges ipset add chicagopublicschools_v4 64.150.6.0/24 ipset add chicagopublicschools_v4 64.150.4.0/23 ipset add chicagopublicschools_v4 64.150.12.0/23 ipset add chicagopublicschools_v4 64.150.0.0/23 ipset add chicagopublicschools_v4 209.175.44.0/22 ipset add chicagopublicschools_v4 64.150.14.0/23 ipset add chicagopublicschools_v4 64.150.10.0/23 ipset add chicagopublicschools_v4 64.150.2.0/23 ipset add chicagopublicschools_v4 64.150.8.0/23 ipset add chicagopublicschools_v4 64.150.6.0/23 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set chicagopublicschools_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set chicagopublicschools_v4 src -j DROP echo "IP ranges for CHICAGO-PUBLIC-SCHOOLS loaded successfully!" echo "IPv4 ranges: 10" echo "IPv6 ranges: 0"