#!/bin/bash # # CF3 IP Ranges - iptables/ipset rules # ASN: AS972 # Generated: 2025-12-17 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv6 ipset ipset create cf3_v6 hash:net family inet6 -exist ipset flush cf3_v6 # Add IPv6 ranges ipset add cf3_v6 2600:ec02:105::/48 ipset add cf3_v6 2600:ec02:1016::/48 ipset add cf3_v6 2600:ec02:107::/48 # Apply iptables rules (uncomment to use) # ip6tables -A INPUT -m set --match-set cf3_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set cf3_v6 src -j DROP echo "IP ranges for CF3 loaded successfully!" echo "IPv4 ranges: 0" echo "IPv6 ranges: 3"