stockholm/lass/2configs/retiolum.nix

31 lines
545 B
Nix
Raw Normal View History

{ ... }:
{
imports = [
../3modules/iptables.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"; }
];
};
};
krebs.retiolum = {
enable = true;
2015-09-05 10:14:16 +00:00
hosts = ../../krebs/Zhosts;
connectTo = [
"fastpoke"
"cloudkrebs"
2015-09-30 13:20:13 +00:00
"echelon"
"pigstarter"
2015-08-20 14:09:24 +00:00
"gum"
"flap"
];
};
}