From 56bc914934b88cc3ee4cae501b01e372cdd6bb51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 11 Sep 2023 21:54:12 +0300 Subject: [PATCH] firewall: open iperf3 fully --- modules/base/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/base/default.nix b/modules/base/default.nix index 31e7669..cc1c45f 100644 --- a/modules/base/default.nix +++ b/modules/base/default.nix @@ -33,8 +33,6 @@ config = { time.timeZone = config.mj.timeZone; - mj.services.friendlyport.vpn.ports = [config.services.iperf3.port]; - i18n = { defaultLocale = "en_US.UTF-8"; supportedLocales = [ @@ -144,6 +142,8 @@ }; networking.firewall.logRefusedConnections = false; + networking.firewall.allowedTCPPorts = [config.services.iperf3.port]; + networking.firewall.allowedUDPPorts = [config.services.iperf3.port]; services = { chrony = {