summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/tinc/siem.nix
blob: 8f17f1a0a9b8dd6ae316685e8ec6f37f97c11836 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
  krebs.dns.providers.siem = "hosts";
  networking.firewall.allowedUDPPorts = [ 1665 ];
  networking.firewall.allowedTCPPorts = [ 1655 ];
  krebs.tinc.siem = {
    enable = true;
    connectTo = [ "shoney" ];
  };
}