#!/bin/bash # # INEX - Internet Neutral Exchange Association Company Limited By Guarantee IP Ranges - iptables/ipset rules # ASN: AS2128 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v4 hash:net -exist ipset flush inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v4 # Add IPv4 ranges ipset add inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v4 194.88.240.0/23 ipset add inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v4 185.6.36.0/22 ipset add inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v4 193.242.111.0/24 # Create IPv6 ipset ipset create inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v6 hash:net family inet6 -exist ipset flush inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v6 # Add IPv6 ranges ipset add inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v6 2a03:ac0::/29 ipset add inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v6 2001:7f8:18::/48 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v4 src -j DROP # ip6tables -A INPUT -m set --match-set inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set inexinternetneutralexchangeassociationcompanylimitedbyguarantee_v6 src -j DROP echo "IP ranges for INEX - Internet Neutral Exchange Association Company Limited By Guarantee loaded successfully!" echo "IPv4 ranges: 3" echo "IPv6 ranges: 2"