#!/bin/bash # # WELLSFARGO-2011 IP Ranges - iptables/ipset rules # ASN: AS2011 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create wellsfargo2011_v4 hash:net -exist ipset flush wellsfargo2011_v4 # Add IPv4 ranges ipset add wellsfargo2011_v4 204.106.47.0/24 ipset add wellsfargo2011_v4 204.106.48.0/24 ipset add wellsfargo2011_v4 204.106.46.0/24 ipset add wellsfargo2011_v4 171.72.233.0/24 ipset add wellsfargo2011_v4 159.45.224.0/23 ipset add wellsfargo2011_v4 204.106.32.0/20 ipset add wellsfargo2011_v4 171.72.234.0/24 ipset add wellsfargo2011_v4 204.106.46.0/23 # Create IPv6 ipset ipset create wellsfargo2011_v6 hash:net family inet6 -exist ipset flush wellsfargo2011_v6 # Add IPv6 ranges ipset add wellsfargo2011_v6 2620:160:e372::/48 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set wellsfargo2011_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set wellsfargo2011_v4 src -j DROP # ip6tables -A INPUT -m set --match-set wellsfargo2011_v6 src -j ACCEPT # ip6tables -A INPUT -m set --match-set wellsfargo2011_v6 src -j DROP echo "IP ranges for WELLSFARGO-2011 loaded successfully!" echo "IPv4 ranges: 8" echo "IPv6 ranges: 1"