#!/bin/bash # # FR-REMUS - MAN of the Polytechnicum IP Ranges - iptables/ipset rules # ASN: AS2439 # Generated: 2025-12-16 # Source: ScaniteX (https://scanitex.com) # # Usage: chmod +x this_script.sh && sudo ./this_script.sh # # Create IPv4 ipset ipset create frremusmanofthepolytechnicum_v4 hash:net -exist ipset flush frremusmanofthepolytechnicum_v4 # Add IPv4 ranges ipset add frremusmanofthepolytechnicum_v4 137.121.0.0/16 ipset add frremusmanofthepolytechnicum_v4 147.215.0.0/16 # Apply iptables rules (uncomment to use) # iptables -A INPUT -m set --match-set frremusmanofthepolytechnicum_v4 src -j ACCEPT # iptables -A INPUT -m set --match-set frremusmanofthepolytechnicum_v4 src -j DROP echo "IP ranges for FR-REMUS - MAN of the Polytechnicum loaded successfully!" echo "IPv4 ranges: 2" echo "IPv6 ranges: 0"