From 3989ea65dbc662fbd6401253a076ea1c38dbc0da Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Wed, 17 Aug 2022 17:44:37 +0200 Subject: [PATCH] open firewall port for the wartrammer --- modules/traffic-stop-boxes/mobile-box-dresden.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/traffic-stop-boxes/mobile-box-dresden.nix b/modules/traffic-stop-boxes/mobile-box-dresden.nix index 3ba2145..3ea1a42 100644 --- a/modules/traffic-stop-boxes/mobile-box-dresden.nix +++ b/modules/traffic-stop-boxes/mobile-box-dresden.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: { dump-dvb = { gnuradio = { @@ -19,6 +19,7 @@ CSVFile = "/var/lib/data-accumulator/formatted.csv"; }; }; + networking.firewall.allowedTCPPorts = [ 80 config.dump-dvb.wartrammer.port ]; dump-dvb.wartrammer.enable = true; systemd.services."start-wifi-hotspot" = { wantedBy = [ "multi-user.target" ];