#!/bin/bash # # AFCONC-BLOCK1-AS IP Ranges - iptables/ipset rules # ASN: AS500 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create afconcblock1as_v4 hash:net -exist ipset flush afconcblock1as_v4 # Add IPv4 ranges ipset add afconcblock1as_v4 55.224.131.0/24 ipset add afconcblock1as_v4 55.224.133.0/24 ipset add afconcblock1as_v4 55.224.132.0/24 ipset add afconcblock1as_v4 55.224.130.0/24 ipset add afconcblock1as_v4 55.224.134.0/24 ipset add afconcblock1as_v4 55.224.129.0/24 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set afconcblock1as_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set afconcblock1as_v4 src -j DROP echo "IP ranges for AFCONC-BLOCK1-AS loaded successfully!" echo "IPv4 ranges: 6" echo "IPv6 ranges: 0"