m 1 shoney: configure forward-journal

This commit is contained in:
makefu 2016-07-11 20:46:09 +02:00
parent 45b79ac86b
commit 50229a3299
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 11 additions and 4 deletions

View File

@ -3,8 +3,9 @@ let
tinc-siem-ip = "10.8.10.1"; tinc-siem-ip = "10.8.10.1";
ip = "64.137.234.215"; ip = "64.137.234.215";
alt-ip = "64.137.234.210"; alt-ip = "64.137.234.210"; # honeydrive honeyd
extra-ip = "64.137.234.114"; #currently unused extra-ip1 = "64.137.234.114"; # floating tinc.siem
extra-ip2 = "64.137.234.232"; # honeydrive
gw = "64.137.234.1"; gw = "64.137.234.1";
in { in {
imports = [ imports = [
@ -15,7 +16,7 @@ in {
]; ];
environment.systemPackages = [ pkgs.honeyd ];
services.tinc.networks.siem.name = "sjump"; services.tinc.networks.siem.name = "sjump";
krebs = { krebs = {
@ -37,10 +38,15 @@ in {
}; };
}; };
}; };
makefu.forward-journal = {
enable = true;
src = "10.8.10.1";
dst = "10.8.10.6";
};
networking = { networking = {
interfaces.enp2s1.ip4 = [ interfaces.enp2s1.ip4 = [
{ address = ip; prefixLength = 24; } { address = ip; prefixLength = 24; }
{ address = alt-ip; prefixLength = 24; } # { address = alt-ip; prefixLength = 24; }
]; ];
defaultGateway = gw; defaultGateway = gw;

View File

@ -6,6 +6,7 @@ _:
./umts.nix ./umts.nix
./taskserver.nix ./taskserver.nix
./awesome-extra.nix ./awesome-extra.nix
./forward-journal.nix
]; ];
} }