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;
|
|
|
|
hosts = ../../Zhosts;
|
|
|
|
connectTo = [
|
|
|
|
"fastpoke"
|
|
|
|
"cloudkrebs"
|
|
|
|
"pigstarter"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|