#!/bin/bash # # SCU-AS-KR Seoul Christain University IP Ranges - iptables/ipset rules # ASN: AS2563 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create scuaskrseoulchristainuniversity_v4 hash:net -exist ipset flush scuaskrseoulchristainuniversity_v4 # Add IPv4 ranges ipset add scuaskrseoulchristainuniversity_v4 114.70.156.0/24 ipset add scuaskrseoulchristainuniversity_v4 114.70.158.0/24 ipset add scuaskrseoulchristainuniversity_v4 114.70.157.0/24 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set scuaskrseoulchristainuniversity_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set scuaskrseoulchristainuniversity_v4 src -j DROP echo "IP ranges for SCU-AS-KR Seoul Christain University loaded successfully!" echo "IPv4 ranges: 3" echo "IPv6 ranges: 0"