Running a fediverse server

Running a fediverse server is now easier than ever, you can run it on hardware as low spec as a Raspberry Pi. With the recent twitter drama the fact that twitter has become a cesspool of bots trying to farm money from low effort posts or posts with no purpose but to further radicalize the masses, it is extremely lucrative to create a fediverse account now.

While you may find it easier to create an account on a more well-estabilished server, it isn't exactly the best idea. Why? Well, if you're going to make an account on a well estabilished instance, you're subject to their moderation policies, and, you can get banned for some nonsensical reasons. By hosting a server, you're practically becoming censorship-resistant.

Note that since publishing this post, I have decided to heavily overhaul it to represent the realities of running a fediverse server in 2026 on a shoestring budget.

Prerequisites

Initial setup

You might want to use Cloudflare for your instance to hide your origin IP and to mitigate Layer 4 DDoS solutions. Unfortunately, given the fact that ActivityPub requires others' instances to create automatic requests to yours, you are unable to use a Layer 7 DDoS mitigation service such as Cloudflare's or Anubis.

If you decide to use Cloudflare, make sure to block all traffic on HTTP and HTTPS ports from non-Cloudflare IPs. A script that does that can be found here,

Note on Oracle Cloud

A weird quirk of OCI is the fact that the default Ubuntu install includes predefined iptables rules which only allow SSH. To remove them, type

sudo iptables -I INPUT -j ACCEPT

Picking your poison

Oh well, this might be easy for some or hard for some, so I will cover each option.

There are of course more solutions, but I generally focused on microblog-ish ones.

Blocklists

The best feature of running your own server is being able to decide who to federate with. Depending on what software you use, it is possible to tweak the blocking to, for example, just remove attachments from posts.

Conclusion

Running a fediverse server is a pretty cool way to improve your linux sysadmin skills while also reducing your dependence on big tech.