From 87a31deffcab0c85d7b4d87bbcabd9835438ac8f Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 23 Oct 2020 21:34:02 +0200 Subject: ma share/gum: use new interface firewall --- makefu/2configs/share/gum.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'makefu') diff --git a/makefu/2configs/share/gum.nix b/makefu/2configs/share/gum.nix index 55080b2a7..27e0c638b 100644 --- a/makefu/2configs/share/gum.nix +++ b/makefu/2configs/share/gum.nix @@ -33,8 +33,6 @@ in { disable spoolss = yes ''; }; - networking.firewall.extraCommands = '' - iptables -A INPUT -i retiolum -p tcp --dport 445 -j ACCEPT - iptables -A INPUT -i wiregrill -p tcp --dport 445 -j ACCEPT - ''; + networking.firewall.interfaces.retiolum.allowedTCPPorts = [ 445 ]; + networking.firewall.interfaces.wiregrill.allowedTCPPorts = [ 445 ]; } -- cgit v1.2.3