#!/bin/bash # # HITNET Global Solution 2nd Office. IT Strategy & Digital Integration Division. Hitachi IP Ranges - iptables/ipset rules # ASN: AS2526 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 hash:net -exist ipset flush hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 # Add IPv4 ranges ipset add hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 133.145.224.0/19 ipset add hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 133.145.96.0/20 ipset add hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 133.145.32.0/19 ipset add hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 133.145.112.0/21 ipset add hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 133.145.64.0/19 ipset add hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 133.145.184.0/24 ipset add hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 133.145.185.0/24 ipset add hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 133.145.128.0/18 ipset add hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 133.145.0.0/16 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set hitnetglobalsolution2ndofficeitstrategydigitalintegrationdivisionhitachi_v4 src -j DROP echo "IP ranges for HITNET Global Solution 2nd Office. IT Strategy & Digital Integration Division. Hitachi loaded successfully!" echo "IPv4 ranges: 9" echo "IPv6 ranges: 0"