Mastodon Share
Sharing on Mastodon:

#!/bin/bash

SPECIAL_ADDRS='255.255.255.255/32 240.0.0.0/4 233.252.0.0/24 224.0.0.0/4 203.0.113.0/24 198.51.100.0/24 198.18.0.0/15 192.168.0.0/16 192.88.99.0/24 192.0.2.0/24 192.0.0.0/24 172.16.0.0/12 169.254.0.0/16 127.0.0.0/8 100.64.0.0/10 10.0.0.0/8 0.0.0.0/8'

# ---

iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP

# ---

iptables -A INPUT -m state --state INVALID -j DROP
iptables -A INPUT -m state --sta...

https://write.as/29oa3zfw3b3w6.md
@write_as@writing.exchange

HomeAbout