just a quick little reminder to make sure that you’re using ufw / firewalld or your local distribution’s recommended firewall!
we’ve had a few issues reported recently and being worked on that are entirely mitigated by having a coherent firewall setup!
below is an excerpt we’re putting in our hardening section of the docs, take a peek:
As with any internet-exposed service, it is imperative that you keep people away from parts of your server that they should not be accessing.
It is recommended that you install a firewall daemon, such as ufw or firewalld to prevent external actors from reaching unexpected ports. The following rules should be all that is needed to run akkoma successfully:
=== “UFW”
sudo ufw allow http
sudo ufw allow https
# if you're running this via ssh, make sure you allow ssh as well before reloading
sudo ufw reload # enable if you need to
=== “Firewalld”
sudo firewall-cmd --permanent --zone=public --add-service=http
sudo firewall-cmd --permanent --zone=public --add-service=https
# if you're running this via ssh, make sure you allow ssh as well before reloading
sudo firewall-cmd --reload
Check the docs for your chosen firewall to make sure you know what you’re doing as ever 