From 52c0a52ae09e986118bac3754f47e4fbe6d1a61b Mon Sep 17 00:00:00 2001 From: Siesta <124433727+siestaw@users.noreply.github.com> Date: Tue, 24 Feb 2026 20:54:47 +0100 Subject: [PATCH] feat(docs): add firewall and ufw instructions for linux users im not sure which linux distributions are affected by this. i've had this problem on cachyos, but not on arch, so it may be the side effect on some weird default configurations --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 04dfd87..c6649f8 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,24 @@ cp config.json.example config.json You can leave the json as it is or configure it to your liking, although some configuration options (e.g. `verboseLogging`) aren't fully implemented yet. +Make sure that your firewall supports connections to the configured port for laterna (default: `8080`), otherwise clients won't be able to connect to the API. You can do so by using ufw on most linux distributions + +```sh +sudo ufw allow 8080/tcp +sudo ufw reload +``` + +Of course, you'll have to change `8080` to your desired port if configured otherwise + + ### 3. Run Make sure that go is installed (tested with Go 1.24.5 on Linux) ```sh make run +# OR +go run ./cmd/server/ ``` For advanced Makefile options: