diff options
author | makefu <github@syntax-fehler.de> | 2020-10-23 21:34:02 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-10-23 21:34:02 +0200 |
commit | 9289941a6f8aecbac5ca9ca53ebd94793cf0ad81 (patch) | |
tree | d2b759d59cb325619508ac47fce9783bf4c22511 | |
parent | b318408b9d8f9ad979d532af38d2e104220783ae (diff) |
ma share/gum: use new interface firewall
-rw-r--r-- | 2configs/share/gum.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/2configs/share/gum.nix b/2configs/share/gum.nix index 55080b2a7..27e0c638b 100644 --- a/2configs/share/gum.nix +++ b/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 ]; } |