#!/bin/bash # # OPTICTELECOM-AS - Optic Telecom LLC IP Ranges - iptables/ipset rules # ASN: AS2585 # Generated: 2025-12-15 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create optictelecomasoptictelecomllc_v4 hash:net -exist ipset flush optictelecomasoptictelecomllc_v4 # Add IPv4 ranges ipset add optictelecomasoptictelecomllc_v4 91.234.152.0/22 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set optictelecomasoptictelecomllc_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set optictelecomasoptictelecomllc_v4 src -j DROP echo "IP ranges for OPTICTELECOM-AS - Optic Telecom LLC loaded successfully!" echo "IPv4 ranges: 1" echo "IPv6 ranges: 0"