diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-04 15:05:25 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-04 15:05:25 +0100 |
commit | 4695bfe9b6302cd5199b377d791bf0aa27f21272 (patch) | |
tree | 6b280ad146aa850899d5805c0a6f7b07e05a3ced /ymir.nix | |
parent | ecbe45e105107f21fe3cf48961f033395dcbb43b (diff) | |
download | nixos-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.nix | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 | ]; |