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