#!/bin/bash # # CHRISTOPHER-NEWPORT-UNIVERSITY IP Ranges - iptables/ipset rules # ASN: AS1411 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create christophernewportuniversity_v4 hash:net -exist ipset flush christophernewportuniversity_v4 # Add IPv4 ranges ipset add christophernewportuniversity_v4 137.155.240.0/24 ipset add christophernewportuniversity_v4 137.155.250.0/24 ipset add christophernewportuniversity_v4 137.155.241.0/24 ipset add christophernewportuniversity_v4 137.155.253.0/24 ipset add christophernewportuniversity_v4 137.155.255.0/24 ipset add christophernewportuniversity_v4 137.155.254.0/24 ipset add christophernewportuniversity_v4 137.155.249.0/24 ipset add christophernewportuniversity_v4 137.155.242.0/24 ipset add christophernewportuniversity_v4 137.155.132.0/22 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set christophernewportuniversity_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set christophernewportuniversity_v4 src -j DROP echo "IP ranges for CHRISTOPHER-NEWPORT-UNIVERSITY loaded successfully!" echo "IPv4 ranges: 9" echo "IPv6 ranges: 0"