Samba: Difference between revisions

imported>Maximeborges
Fix AD DC instructions
imported>Pgronkievitz
m use `services.samba.openFirewall` instead of manually opening ports
Line 130: Line 130:
networking.firewall.enable = true;
networking.firewall.enable = true;
networking.firewall.allowPing = true;
networking.firewall.allowPing = true;
networking.firewall.allowedTCPPorts = [ 445 139 ];
services.samba.openFirewall = true;
networking.firewall.allowedUDPPorts = [ 137 138 ];
</syntaxhighlight>
</syntaxhighlight>