#!/bin/bash # # SUPERCSI NTT WEST CHUGOKU CORPORATION IP Ranges - iptables/ipset rules # ASN: AS2506 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create supercsinttwestchugokucorporation_v4 hash:net -exist ipset flush supercsinttwestchugokucorporation_v4 # Add IPv4 ranges ipset add supercsinttwestchugokucorporation_v4 165.242.0.0/16 ipset add supercsinttwestchugokucorporation_v4 202.245.144.0/24 ipset add supercsinttwestchugokucorporation_v4 202.15.112.0/22 ipset add supercsinttwestchugokucorporation_v4 202.249.200.0/22 ipset add supercsinttwestchugokucorporation_v4 202.249.237.0/24 ipset add supercsinttwestchugokucorporation_v4 202.249.206.0/24 ipset add supercsinttwestchugokucorporation_v4 150.19.0.0/16 ipset add supercsinttwestchugokucorporation_v4 202.249.236.0/24 ipset add supercsinttwestchugokucorporation_v4 202.249.224.0/19 ipset add supercsinttwestchugokucorporation_v4 202.249.208.0/24 ipset add supercsinttwestchugokucorporation_v4 133.41.0.0/16 ipset add supercsinttwestchugokucorporation_v4 202.249.207.0/24 ipset add supercsinttwestchugokucorporation_v4 202.249.192.0/19 ipset add supercsinttwestchugokucorporation_v4 202.249.204.0/24 ipset add supercsinttwestchugokucorporation_v4 202.249.214.0/24 # Create IPv6 ipset ipset create supercsinttwestchugokucorporation_v6 hash:net family inet6 -exist ipset flush supercsinttwestchugokucorporation_v6 # Add IPv6 ranges ipset add supercsinttwestchugokucorporation_v6 2001:44a0::/32 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set supercsinttwestchugokucorporation_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set supercsinttwestchugokucorporation_v4 src -j DROP # ip6tables -A INPUT -m set --match-set supercsinttwestchugokucorporation_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set supercsinttwestchugokucorporation_v6 src -j DROP echo "IP ranges for SUPERCSI NTT WEST CHUGOKU CORPORATION loaded successfully!" echo "IPv4 ranges: 15" echo "IPv6 ranges: 1"