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