Hasty Briefsbeta

Migrating Burningboard.net Mastodon Instance to a Multi-Jail FreeBSD Setup

3 days ago
  • #FreeBSD
  • #Mastodon
  • #Networking
  • Migration of Mastodon instance to FreeBSD jail-based setup using BastilleBSD.
  • Design goals include central PF firewall, separation of concerns, host-managed source, clean dual-stack networking, and predictable networking.
  • Jail and network overview with example address plan and schematic diagram.
  • Jail creation and per-jail configuration details.
  • Host /etc/rc.conf configuration for networking and services.
  • /etc/pf.conf setup for NAT, port redirection, and filtering policy.
  • Shared source design for mastodonweb and mastodonsidekiq jails.
  • Service boot integration with FreeBSD’s native service management.
  • Benefits of the system: simple, observable, robust, and easy to snapshot with ZFS.