From 7d7340afc320f0c0234efb55552fec93bddccd06 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 13 Jun 2023 00:19:59 +0200 Subject: [PATCH] radiobert: add networking.firewall.allowedTCPPorts --- hosts/radiobert/adsb.nix | 9 +++++++++ hosts/radiobert/soapysdr.nix | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/hosts/radiobert/adsb.nix b/hosts/radiobert/adsb.nix index 2ad84ac4..0138b91a 100644 --- a/hosts/radiobert/adsb.nix +++ b/hosts/radiobert/adsb.nix @@ -26,6 +26,15 @@ in { "dvb_usb_rtl28xxu" ]; + networking.firewall.allowedTCPPorts = [ + # dump1090 + 30001 + 30002 + 30003 + 30004 + 30005 + ]; + environment.systemPackages = with pkgs; [ dump1090 ]; diff --git a/hosts/radiobert/soapysdr.nix b/hosts/radiobert/soapysdr.nix index 5ab95409..63570b96 100644 --- a/hosts/radiobert/soapysdr.nix +++ b/hosts/radiobert/soapysdr.nix @@ -1,6 +1,10 @@ { pkgs, ... }: { + networking.firewall.allowedTCPPorts = [ + 55132 + ]; + environment.systemPackages = with pkgs; [ soapysdr-with-plugins hackrf