summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-12-13 01:34:15 +0100
committermakefu <github@syntax-fehler.de>2018-12-13 01:34:15 +0100
commit4f591e4531a450f871d5f4f6d91b5bfc2e899d63 (patch)
tree7a7ef254bb5985ed2c9245c7e4cefc4580998c01 /makefu
parentb9f21cc5672440c5af9d195cd13cf3cfaed08c12 (diff)
ma tinc: open tinc ports in config
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/tinc/retiolum.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/makefu/2configs/tinc/retiolum.nix b/makefu/2configs/tinc/retiolum.nix
index 98abb2406..0d2774209 100644
--- a/makefu/2configs/tinc/retiolum.nix
+++ b/makefu/2configs/tinc/retiolum.nix
@@ -1,8 +1,10 @@
-{ pkgs, ... }:
+{ pkgs, config, ... }:
{
imports = [
../binary-cache/lass.nix
];
krebs.tinc.retiolum.enable = true;
environment.systemPackages = [ pkgs.tinc ];
+ networking.firewall.allowedTCPPorts = [ config.krebs.build.host.nets.retiolum.tinc.port ];
+ networking.firewall.allowedUDPPorts = [ config.krebs.build.host.nets.retiolum.tinc.port ];
}