#!/bin/bash # # AS-BTIRE - Enet Communications LIMITED IP Ranges - iptables/ipset rules # ASN: AS2110 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create asbtireenetcommunicationslimited_v4 hash:net -exist ipset flush asbtireenetcommunicationslimited_v4 # Add IPv4 ranges ipset add asbtireenetcommunicationslimited_v4 194.165.160.0/19 ipset add asbtireenetcommunicationslimited_v4 185.215.108.0/22 ipset add asbtireenetcommunicationslimited_v4 193.95.128.0/18 ipset add asbtireenetcommunicationslimited_v4 213.202.128.0/18 ipset add asbtireenetcommunicationslimited_v4 193.203.128.0/19 ipset add asbtireenetcommunicationslimited_v4 78.16.0.0/14 ipset add asbtireenetcommunicationslimited_v4 194.145.128.0/21 ipset add asbtireenetcommunicationslimited_v4 185.146.180.0/22 ipset add asbtireenetcommunicationslimited_v4 193.120.0.0/16 ipset add asbtireenetcommunicationslimited_v4 194.125.0.0/17 ipset add asbtireenetcommunicationslimited_v4 192.111.39.0/24 ipset add asbtireenetcommunicationslimited_v4 141.11.253.0/24 ipset add asbtireenetcommunicationslimited_v4 212.2.160.0/19 ipset add asbtireenetcommunicationslimited_v4 194.46.192.0/18 ipset add asbtireenetcommunicationslimited_v4 92.39.176.0/20 # Create IPv6 ipset ipset create asbtireenetcommunicationslimited_v6 hash:net family inet6 -exist ipset flush asbtireenetcommunicationslimited_v6 # Add IPv6 ranges ipset add asbtireenetcommunicationslimited_v6 2001:7c8::/32 ipset add asbtireenetcommunicationslimited_v6 2001:7c8::/29 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set asbtireenetcommunicationslimited_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set asbtireenetcommunicationslimited_v4 src -j DROP # ip6tables -A INPUT -m set --match-set asbtireenetcommunicationslimited_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set asbtireenetcommunicationslimited_v6 src -j DROP echo "IP ranges for AS-BTIRE - Enet Communications LIMITED loaded successfully!" echo "IPv4 ranges: 15" echo "IPv6 ranges: 2"