summaryrefslogtreecommitdiffstats
path: root/lass/2configs/retiolum.nix
blob: 1646cdea9a9c521e5e382750365f10829524c84a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ ... }:

{

  krebs.iptables = {
    tables = {
      filter.INPUT.rules = [
        { predicate = "-p tcp --dport smtp"; target = "ACCEPT"; }
        { predicate = "-p tcp --dport tinc"; target = "ACCEPT"; }
        { predicate = "-p udp --dport tinc"; target = "ACCEPT"; }
      ];
    };
  };

  krebs.retiolum = {
    enable = true;
    connectTo = [
      "prism"
      "pigstarter"
      "gum"
      "flap"
    ];
  };
}