2015-07-23 00:11:56 +00:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
2015-10-01 20:13:40 +00:00
|
|
|
krebs.iptables = {
|
2015-07-23 00:11:56 +00:00
|
|
|
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"; }
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-07-20 15:20:47 +00:00
|
|
|
krebs.tinc.retiolum = {
|
2015-07-23 00:11:56 +00:00
|
|
|
enable = true;
|
|
|
|
connectTo = [
|
2015-10-30 23:12:15 +00:00
|
|
|
"prism"
|
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
|
|
|
];
|
|
|
|
};
|
2016-03-15 13:00:55 +00:00
|
|
|
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
tinc = pkgs.tinc_pre;
|
|
|
|
};
|
2015-07-23 00:11:56 +00:00
|
|
|
}
|