ma share/gum: use new interface firewall
This commit is contained in:
parent
7edc9a9a51
commit
87a31deffc
@ -33,8 +33,6 @@ in {
|
|||||||
disable spoolss = yes
|
disable spoolss = yes
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
networking.firewall.extraCommands = ''
|
networking.firewall.interfaces.retiolum.allowedTCPPorts = [ 445 ];
|
||||||
iptables -A INPUT -i retiolum -p tcp --dport 445 -j ACCEPT
|
networking.firewall.interfaces.wiregrill.allowedTCPPorts = [ 445 ];
|
||||||
iptables -A INPUT -i wiregrill -p tcp --dport 445 -j ACCEPT
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user