From 5bf032e2c90876c4ad1cf0dccb6a563180cba2b2 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 20 Oct 2021 10:04:04 +0200 Subject: [PATCH] dumpyourvms: networking updates --- hosts/dumpyourvms/networking.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hosts/dumpyourvms/networking.nix b/hosts/dumpyourvms/networking.nix index 14962556..332b45cb 100644 --- a/hosts/dumpyourvms/networking.nix +++ b/hosts/dumpyourvms/networking.nix @@ -3,6 +3,16 @@ "10.0.0.42" = [ "nomad.service.consul" ]; "10.0.0.48" = [ "consul.service.consul" ]; "10.0.0.49" = [ "vault.service.consul" ]; + "10.0.0.200" = [ "headnode.cgn-1" ]; + "10.0.0.201" = [ "cn01.cgn-1" ]; + "10.0.0.202" = [ "cn02.cgn-1" ]; + "10.0.0.205" = [ "cn05.cgn-1" ]; + "10.0.0.206" = [ "cn06.cgn-1" ]; + "10.0.1.200" = [ "headnode.lev-1" ]; + "10.0.1.201" = [ "cn01.lev-1" ]; + "10.0.1.202" = [ "cn02.lev-1" ]; + "10.0.1.203" = [ "cn03.lev-1" ]; + "10.0.1.204" = [ "cn04.lev-1" ]; }; wireguard.enable = true; @@ -57,7 +67,7 @@ publicKey = "7RRgfZSneqAtAHBeI6+aaYLqz9e1jikg/lIK8mhW928="; presharedKeyFile = "/etc/wireguard/wg3.presharedkey"; allowedIPs = [ "10.11.11.1/32" "192.168.1.0/24" "10.0.1.0/24" ]; - endpoint = "94.186.235.148:51820"; + endpoint = "80.71.153.1:51820"; persistentKeepalive = 16; } ];