summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/tinc
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-07-28 12:58:54 +0200
committermakefu <github@syntax-fehler.de>2016-07-28 13:18:54 +0200
commitb1569158057042aa50e6816e38f0305bab8e5f9c (patch)
treef8a89a933b337365ab4e482767d1555dad97835f /makefu/2configs/tinc
parent8c465870fc94d8544a164e547f174fd0bb9d8661 (diff)
makefu: pornocauster -> x
Diffstat (limited to 'makefu/2configs/tinc')
-rw-r--r--makefu/2configs/tinc/siem.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefu/2configs/tinc/siem.nix b/makefu/2configs/tinc/siem.nix
new file mode 100644
index 000000000..fae72590f
--- /dev/null
+++ b/makefu/2configs/tinc/siem.nix
@@ -0,0 +1,12 @@
+{lib, config, ... }:
+{
+ # TODO do not know why we need to force it, port is only set via default to 655
+ krebs.build.host.nets.siem.tinc.port = lib.mkForce 1655;
+
+ networking.firewall.allowedUDPPorts = [ 1665 ];
+ networking.firewall.allowedTCPPorts = [ 1655 ];
+ krebs.tinc.siem = {
+ enable = true;
+ connectTo = [ "shoney" ];
+ };
+}