#!/bin/bash # # ZONT-LLC IP Ranges - iptables/ipset rules # ASN: AS1054 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create zontllc_v4 hash:net -exist ipset flush zontllc_v4 # Add IPv4 ranges ipset add zontllc_v4 38.95.78.0/24 ipset add zontllc_v4 38.244.61.0/24 ipset add zontllc_v4 38.244.63.0/24 ipset add zontllc_v4 216.40.84.0/24 ipset add zontllc_v4 216.40.86.0/24 ipset add zontllc_v4 38.55.108.0/24 ipset add zontllc_v4 38.55.111.0/24 ipset add zontllc_v4 216.40.85.0/24 ipset add zontllc_v4 38.95.79.0/24 ipset add zontllc_v4 38.244.60.0/24 ipset add zontllc_v4 38.244.62.0/24 ipset add zontllc_v4 216.40.87.0/24 # Create IPv6 ipset ipset create zontllc_v6 hash:net family inet6 -exist ipset flush zontllc_v6 # Add IPv6 ranges ipset add zontllc_v6 2602:f656::/48 ipset add zontllc_v6 2602:f656:2::/48 ipset add zontllc_v6 2602:f656:1::/48 ipset add zontllc_v6 2602:f656:3::/48 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set zontllc_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set zontllc_v4 src -j DROP # ip6tables -A INPUT -m set --match-set zontllc_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set zontllc_v6 src -j DROP echo "IP ranges for ZONT-LLC loaded successfully!" echo "IPv4 ranges: 12" echo "IPv6 ranges: 4"