summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-11-04 15:05:25 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-11-04 15:05:25 +0100
commit4695bfe9b6302cd5199b377d791bf0aa27f21272 (patch)
tree6b280ad146aa850899d5805c0a6f7b07e05a3ced /ymir.nix
parentecbe45e105107f21fe3cf48961f033395dcbb43b (diff)
downloadnixos-4695bfe9b6302cd5199b377d791bf0aa27f21272.tar
nixos-4695bfe9b6302cd5199b377d791bf0aa27f21272.tar.gz
nixos-4695bfe9b6302cd5199b377d791bf0aa27f21272.tar.bz2
nixos-4695bfe9b6302cd5199b377d791bf0aa27f21272.tar.xz
nixos-4695bfe9b6302cd5199b377d791bf0aa27f21272.zip
firewall allowing tinc on ymir
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/ymir.nix b/ymir.nix
index 69e18b72..4461bcdd 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -59,9 +59,11 @@ in {
59 firewall = { 59 firewall = {
60 enable = true; 60 enable = true;
61 allowPing = true; 61 allowPing = true;
62 allowedTCPPorts = [ 22 62 allowedTCPPorts = [ 22 # ssh
63 5222 63 5222 # xmpp.s2c
64 5269 64 5269 # xmpp.s2s
65 655 # tinc.yggdrasil
66 656 # tinc.laeradhr
65 ]; 67 ];
66 allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh 68 allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh
67 ]; 69 ];