#!/bin/bash # # HERE - HERE Global BV IP Ranges - iptables/ipset rules # ASN: AS1248 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create herehereglobalbv_v4 hash:net -exist ipset flush herehereglobalbv_v4 # Add IPv4 ranges ipset add herehereglobalbv_v4 131.228.152.0/21 ipset add herehereglobalbv_v4 131.228.180.0/22 ipset add herehereglobalbv_v4 131.228.230.0/24 ipset add herehereglobalbv_v4 131.228.232.0/24 ipset add herehereglobalbv_v4 66.54.95.0/24 ipset add herehereglobalbv_v4 131.228.192.0/21 ipset add herehereglobalbv_v4 131.228.165.0/24 ipset add herehereglobalbv_v4 131.228.233.0/24 ipset add herehereglobalbv_v4 131.228.255.0/24 ipset add herehereglobalbv_v4 66.54.64.0/19 ipset add herehereglobalbv_v4 131.228.231.0/24 ipset add herehereglobalbv_v4 131.228.128.0/17 # Create IPv6 ipset ipset create herehereglobalbv_v6 hash:net family inet6 -exist ipset flush herehereglobalbv_v6 # Add IPv6 ranges ipset add herehereglobalbv_v6 2001:490:4a00::/46 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set herehereglobalbv_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set herehereglobalbv_v4 src -j DROP # ip6tables -A INPUT -m set --match-set herehereglobalbv_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set herehereglobalbv_v6 src -j DROP echo "IP ranges for HERE - HERE Global BV loaded successfully!" echo "IPv4 ranges: 12" echo "IPv6 ranges: 1"