Why Nostr? What is Njump?
2023-08-27 21:28:54
in reply to

anime graf mays 🛰️🪐 on Nostr: sure, i will just treat this /16 as hostile and add ips to “good_ips” when I find ...

sure, i will just treat this /16 as hostile and add ips to “good_ips” when I find instances on hetzner that aren’t this

graf:~$ sudo ipset create bad_asns hash:net hashsize 131072 counters
graf:~$ sudo ipset create bad_ips hash:ip hashsize 16384 counterss
graf:~$ sudo ipset create good_ips hash:ip hashsize 4096
graf:~$ sudo iptables -A INPUT -m set --match-set good_ips src -j ACCEPT
graf:~$ sudo iptables -A INPUT -m set --match-set bad_ips src -j DROP
graf:~$ sudo iptables -A INPUT -m set --match-set bad_asns src -j DROP
graf:~$ sudo ipset add bad_asns 65.109.0.0/16
Author Public Key
npub108zt8c43ulvdwnax2txurhhr07wdprl0msf608udz9rvpd5l68ascvdkr5