#!/bin/bash # # FORTLAB IP Ranges - iptables/ipset rules # ASN: AS896 # Generated: 2025-12-17 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create fortlab_v4 hash:net -exist ipset flush fortlab_v4 # Add IPv4 ranges ipset add fortlab_v4 23.247.240.0/24 ipset add fortlab_v4 23.247.242.0/24 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set fortlab_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set fortlab_v4 src -j DROP echo "IP ranges for FORTLAB loaded successfully!" echo "IPv4 ranges: 2" echo "IPv6 ranges: 0"