summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/tinc/siem.nix
blob: fae72590fd1a7934081a4803df375a55fe901e90 (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;

  networking.firewall.allowedUDPPorts = [ 1665 ];
  networking.firewall.allowedTCPPorts = [ 1655 ];
  krebs.tinc.siem = {
    enable = true;
    connectTo = [ "shoney" ];
  };
}