2015-07-23 00:11:56 +00:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../3modules/lass/iptables.nix
|
2015-07-28 18:28:21 +00:00
|
|
|
../../tv/configs/exim-retiolum.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"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|