summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/share
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-10-23 21:34:02 +0200
committermakefu <github@syntax-fehler.de>2020-10-23 21:34:02 +0200
commit87a31deffcab0c85d7b4d87bbcabd9835438ac8f (patch)
tree5b91b2518053d61eb0ce657faf36d428b7167ffa /makefu/2configs/share
parent7edc9a9a5171892cc8f7e39207faa8ef2bb389ce (diff)
ma share/gum: use new interface firewall
Diffstat (limited to 'makefu/2configs/share')
-rw-r--r--makefu/2configs/share/gum.nix6
1 files changed, 2 insertions, 4 deletions
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 ];
}