#!/bin/bash # # GRVYUS-PIT-A IP Ranges - iptables/ipset rules # ASN: AS1412 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create grvyuspita_v4 hash:net -exist ipset flush grvyuspita_v4 # Add IPv4 ranges ipset add grvyuspita_v4 204.2.170.32/27 ipset add grvyuspita_v4 128.241.92.0/22 # Create IPv6 ipset ipset create grvyuspita_v6 hash:net family inet6 -exist ipset flush grvyuspita_v6 # Add IPv6 ranges ipset add grvyuspita_v6 2001:418:4005::/48 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set grvyuspita_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set grvyuspita_v4 src -j DROP # ip6tables -A INPUT -m set --match-set grvyuspita_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set grvyuspita_v6 src -j DROP echo "IP ranges for GRVYUS-PIT-A loaded successfully!" echo "IPv4 ranges: 2" echo "IPv6 ranges: 1"