Samba: Difference between revisions
imported>Milahu add ipv4 localhost to hosts allow, add some troubleshooting commands |
imported>Milahu open firewall ports for wsdd |
||
| Line 102: | Line 102: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
services.samba-wsdd.enable = true; # make shares visible for windows 10 clients | services.samba-wsdd.enable = true; # make shares visible for windows 10 clients | ||
networking.firewall.allowedTCPPorts = [ | |||
5357 # wsdd | |||
]; | |||
networking.firewall.allowedUDPPorts = [ | |||
3702 # wsdd | |||
]; | |||
services.samba = { | services.samba = { | ||
enable = true; | enable = true; | ||