ma share/gum: use new interface firewall

This commit is contained in:
makefu 2020-10-23 21:34:02 +02:00
parent 7edc9a9a51
commit 87a31deffc
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -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 ];
}