#!/bin/bash # # BLACK-MESA IP Ranges - iptables/ipset rules # ASN: AS993 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv6 ipset ipset create blackmesa_v6 hash:net family inet6 -exist ipset flush blackmesa_v6 # Add IPv6 ranges ipset add blackmesa_v6 2001:df4:d80::/48 # Apply iptables rules (uncomment to use) # ip6tables -A INPUT -m set --match-set blackmesa_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set blackmesa_v6 src -j DROP echo "IP ranges for BLACK-MESA loaded successfully!" echo "IPv4 ranges: 0" echo "IPv6 ranges: 1"