diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-10 15:06:06 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-10 15:06:06 +0200 |
| commit | 8ee512fef9cffd48ee834207e52bd4daef384b4e (patch) | |
| tree | 4e1d6897ff3f65550f0897aa77084c9302e8a2e5 | |
| parent | 16283db5916a862b39ee93811b93d42d05b2bf4a (diff) | |
| download | nixos-8ee512fef9cffd48ee834207e52bd4daef384b4e.tar nixos-8ee512fef9cffd48ee834207e52bd4daef384b4e.tar.gz nixos-8ee512fef9cffd48ee834207e52bd4daef384b4e.tar.bz2 nixos-8ee512fef9cffd48ee834207e52bd4daef384b4e.tar.xz nixos-8ee512fef9cffd48ee834207e52bd4daef384b4e.zip | |
allow samba through fw
| -rw-r--r-- | odin.nix | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -58,7 +58,9 @@ | |||
| 58 | enable = true; | 58 | enable = true; |
| 59 | allowPing = true; | 59 | allowPing = true; |
| 60 | allowedTCPPorts = [ 22 # ssh | 60 | allowedTCPPorts = [ 22 # ssh |
| 61 | 139 445 # samba | ||
| 61 | ]; | 62 | ]; |
| 63 | allowedUDPPorts = [ 137 138 ]; # samba | ||
| 62 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh | 64 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh |
| 63 | ]; | 65 | ]; |
| 64 | }; | 66 | }; |
