#!/bin/bash # # TLL-WEST IP Ranges - iptables/ipset rules # ASN: AS1246 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create tllwest_v4 hash:net -exist ipset flush tllwest_v4 # Add IPv4 ranges ipset add tllwest_v4 64.188.255.0/24 ipset add tllwest_v4 24.50.4.0/24 ipset add tllwest_v4 199.184.142.0/24 ipset add tllwest_v4 64.188.160.0/20 ipset add tllwest_v4 64.188.130.0/24 ipset add tllwest_v4 208.85.36.0/22 ipset add tllwest_v4 67.63.87.0/24 ipset add tllwest_v4 64.188.148.0/23 # Create IPv6 ipset ipset create tllwest_v6 hash:net family inet6 -exist ipset flush tllwest_v6 # Add IPv6 ranges ipset add tllwest_v6 2600:250e:f000::/36 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set tllwest_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set tllwest_v4 src -j DROP # ip6tables -A INPUT -m set --match-set tllwest_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set tllwest_v6 src -j DROP echo "IP ranges for TLL-WEST loaded successfully!" echo "IPv4 ranges: 8" echo "IPv6 ranges: 1"