summaryrefslogtreecommitdiffstats
path: root/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
commit423100042bfe66e7fd4caa75da51ba96bf0916a6 (patch)
treeefd6224caf0ee261ca05b9d6ab529770c98fa563 /2configs/tinc
parent10ba8ea9afefeb8622daf760a7d0ae6f846fec0a (diff)
makefu: pornocauster -> x
Diffstat (limited to '2configs/tinc')
-rw-r--r--2configs/tinc/siem.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/2configs/tinc/siem.nix b/2configs/tinc/siem.nix
new file mode 100644
index 000000000..fae72590f
--- /dev/null
+++ b/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" ];
+ };
+}