#!/bin/bash # # PPP-EXP Japan Network Information Center IP Ranges - iptables/ipset rules # ASN: AS2522 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create pppexpjapannetworkinformationcenter_v4 hash:net -exist ipset flush pppexpjapannetworkinformationcenter_v4 # Add IPv4 ranges ipset add pppexpjapannetworkinformationcenter_v4 219.101.112.0/20 ipset add pppexpjapannetworkinformationcenter_v4 202.210.56.0/22 ipset add pppexpjapannetworkinformationcenter_v4 192.47.97.0/24 ipset add pppexpjapannetworkinformationcenter_v4 192.50.235.0/24 ipset add pppexpjapannetworkinformationcenter_v4 203.178.8.0/24 ipset add pppexpjapannetworkinformationcenter_v4 211.1.0.0/19 ipset add pppexpjapannetworkinformationcenter_v4 210.134.208.0/20 ipset add pppexpjapannetworkinformationcenter_v4 61.122.16.0/22 ipset add pppexpjapannetworkinformationcenter_v4 133.112.0.0/16 ipset add pppexpjapannetworkinformationcenter_v4 150.41.0.0/16 ipset add pppexpjapannetworkinformationcenter_v4 218.231.16.0/20 ipset add pppexpjapannetworkinformationcenter_v4 158.200.0.0/16 ipset add pppexpjapannetworkinformationcenter_v4 220.213.240.0/20 ipset add pppexpjapannetworkinformationcenter_v4 103.210.108.0/22 ipset add pppexpjapannetworkinformationcenter_v4 203.179.64.0/20 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set pppexpjapannetworkinformationcenter_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set pppexpjapannetworkinformationcenter_v4 src -j DROP echo "IP ranges for PPP-EXP Japan Network Information Center loaded successfully!" echo "IPv4 ranges: 15" echo "IPv6 ranges: 0"