dumpyourvms: networking updates

This commit is contained in:
teutat3s 2021-10-20 10:04:04 +02:00
parent 7d9d924f2b
commit 5bf032e2c9
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -3,6 +3,16 @@
"10.0.0.42" = [ "nomad.service.consul" ]; "10.0.0.42" = [ "nomad.service.consul" ];
"10.0.0.48" = [ "consul.service.consul" ]; "10.0.0.48" = [ "consul.service.consul" ];
"10.0.0.49" = [ "vault.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; wireguard.enable = true;
@ -57,7 +67,7 @@
publicKey = "7RRgfZSneqAtAHBeI6+aaYLqz9e1jikg/lIK8mhW928="; publicKey = "7RRgfZSneqAtAHBeI6+aaYLqz9e1jikg/lIK8mhW928=";
presharedKeyFile = "/etc/wireguard/wg3.presharedkey"; presharedKeyFile = "/etc/wireguard/wg3.presharedkey";
allowedIPs = [ "10.11.11.1/32" "192.168.1.0/24" "10.0.1.0/24" ]; 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; persistentKeepalive = 16;
} }
]; ];