#!/bin/bash # # TS-1316-954 IP Ranges - iptables/ipset rules # ASN: AS954 # Generated: 2025-12-17 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create ts1316954_v4 hash:net -exist ipset flush ts1316954_v4 # Add IPv4 ranges ipset add ts1316954_v4 144.34.0.0/24 ipset add ts1316954_v4 144.34.1.0/24 ipset add ts1316954_v4 162.221.0.0/24 ipset add ts1316954_v4 144.34.2.0/24 ipset add ts1316954_v4 144.34.3.0/24 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set ts1316954_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set ts1316954_v4 src -j DROP echo "IP ranges for TS-1316-954 loaded successfully!" echo "IPv4 ranges: 5" echo "IPv6 ranges: 0"