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
This commit is contained in:
Siesta
2026-02-24 20:54:47 +01:00
parent 24eacbca6f
commit 52c0a52ae0
+12
View File
@@ -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. 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 ### 3. Run
Make sure that go is installed (tested with Go 1.24.5 on Linux) Make sure that go is installed (tested with Go 1.24.5 on Linux)
```sh ```sh
make run make run
# OR
go run ./cmd/server/
``` ```
For advanced Makefile options: For advanced Makefile options: