summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-10 15:06:06 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-10 15:06:06 +0200
commit8ee512fef9cffd48ee834207e52bd4daef384b4e (patch)
tree4e1d6897ff3f65550f0897aa77084c9302e8a2e5 /odin.nix
parent16283db5916a862b39ee93811b93d42d05b2bf4a (diff)
downloadnixos-8ee512fef9cffd48ee834207e52bd4daef384b4e.tar
nixos-8ee512fef9cffd48ee834207e52bd4daef384b4e.tar.gz
nixos-8ee512fef9cffd48ee834207e52bd4daef384b4e.tar.bz2
nixos-8ee512fef9cffd48ee834207e52bd4daef384b4e.tar.xz
nixos-8ee512fef9cffd48ee834207e52bd4daef384b4e.zip
allow samba through fw
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index 2cfd5b3d..ecd93881 100644
--- a/odin.nix
+++ b/odin.nix
@@ -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 };