Skip to content

Instantly share code, notes, and snippets.

View solarisfire's full-sized avatar

Stephen Greenham solarisfire

View GitHub Profile
@solarisfire
solarisfire / iptable_block_defederated.sh
Created January 11, 2023 11:51
Script to Firewall Defederated Servers from Local Instance
#############################################################################
#
# Script to Firewall Defederated Servers from Local Instance
# Modified from original at: https://wiki.friendsofdesoto.social/en/Technical_Details#defederation-firewall
#
#############################################################################
#!/bin/bash
#Set the name of the Mastodon Database
DB=mastodon_production
### Keybase proof
I hereby claim:
* I am solarisfire on github.
* I am solarisfire (https://keybase.io/solarisfire) on keybase.
* I have a public key whose fingerprint is AE8E 0E0A 0DD8 9CD6 05DD F664 8B79 3F9F 4EFF 8386
To claim this, I am signing this object: