dumpyourvms: add wireguard config for wg5, moz0

This commit is contained in:
teutat3s 2024-04-13 02:16:16 +02:00
parent 31d91fa649
commit 1b70050c21
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -121,6 +121,24 @@
} }
]; ];
}; };
wg5 = {
autostart = false;
address = ["192.168.13.201/24"];
privateKeyFile = "/etc/wireguard/wg5.privatekey";
postUp = "resolvectl dnsovertls wg5 no; resolvectl dns wg5 192.168.13.1; resolvectl domain wg5 ~fritz.box";
preDown = "resolvectl revert wg5";
peers = [
{
publicKey = "UhPW8jebAPaMYqjJfSFO9QAMhk0E+dq4i6lB4Wjg91Q=";
presharedKeyFile = "/etc/wireguard/wg5.presharedkey";
allowedIPs = [ "192.168.13.0/24" ];
#endpoint = "ktjh20jr89gkcqwr.myfritz.net:59538";
endpoint = "[2001:4dd0:af08:5725:9ec7:a6ff:feff:e14d]:51820";
persistentKeepalive = 25;
}
];
};
wg6 = { wg6 = {
address = ["10.7.6.201/32"]; address = ["10.7.6.201/32"];
privateKeyFile = "/etc/wireguard/wg6.privatekey"; privateKeyFile = "/etc/wireguard/wg6.privatekey";
@ -144,7 +162,7 @@
moz0 = { moz0 = {
autostart = false; autostart = false;
address = ["10.142.131.196/32" "fc00:bbbb:bbbb:bb01:d:0:e:83c4/128"]; address = ["10.142.131.196/32" "fc00:bbbb:bbbb:bb01:d:0:e:83c4/128"];
privateKeyFile = "/etc/wireguard/wg5.privatekey"; privateKeyFile = "/etc/wireguard/moz0.privatekey";
#postUp = "resolvectl dns wg4 fdaa:1:3234::3; resolvectl domain wg4 ~internal"; #postUp = "resolvectl dns wg4 fdaa:1:3234::3; resolvectl domain wg4 ~internal";
#preDown = "resolvectl revert wg4"; #preDown = "resolvectl revert wg4";
#dns = [ #dns = [