diff options
author | makefu <github@syntax-fehler.de> | 2018-12-13 01:34:15 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-12-13 01:34:15 +0100 |
commit | 4f591e4531a450f871d5f4f6d91b5bfc2e899d63 (patch) | |
tree | 7a7ef254bb5985ed2c9245c7e4cefc4580998c01 /makefu/2configs | |
parent | b9f21cc5672440c5af9d195cd13cf3cfaed08c12 (diff) |
ma tinc: open tinc ports in config
Diffstat (limited to 'makefu/2configs')
-rw-r--r-- | makefu/2configs/tinc/retiolum.nix | 4 |
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 ]; } |