blob: d1389ad2ad4a51abe371c599c7ea1e99a69cbaf4 (
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
25
26
27
28
29
|
{ ... }:
{
imports = [
../../3modules/lass/iptables.nix
../../3modules/tv/retiolum.nix
../../2configs/tv/exim-retiolum.nix
];
lass.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"; }
];
};
};
tv.retiolum = {
enable = true;
hosts = ../../Zhosts;
connectTo = [
"fastpoke"
"cloudkrebs"
"pigstarter"
];
};
}
|