2
0
Fork 0
forked from pub-solar/os

dumpyourvms: update wg networking

This commit is contained in:
teutat3s 2025-03-26 19:36:25 +01:00
parent fec7b8b0d0
commit a164d2e0b5
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -143,16 +143,16 @@
};
wg5 = {
autostart = false;
address = [ "192.168.13.201/24" ];
address = [ "192.168.13.202/24" "fddf:d3d5:9d32::202/64" ];
privateKeyFile = "/etc/wireguard/wg5.privatekey";
postUp = "resolvectl dnsovertls wg5 no; resolvectl dns wg5 192.168.13.1; resolvectl domain wg5 ~fritz.box";
postUp = "resolvectl dnsovertls wg5 no; resolvectl dns wg5 192.168.13.1 fddf:d3d5:9d32::e72:74ff:fe31:a2b2; resolvectl domain wg5 ~fritz.box";
preDown = "resolvectl revert wg5";
peers = [
{
publicKey = "UhPW8jebAPaMYqjJfSFO9QAMhk0E+dq4i6lB4Wjg91Q=";
publicKey = "9KODEdeIvX9uG80MlSd5N5mZMehj9vW89+0+lmMt0yM=";
presharedKeyFile = "/etc/wireguard/wg5.presharedkey";
allowedIPs = [ "192.168.13.0/24" ];
allowedIPs = [ "192.168.13.0/24" "fddf:d3d5:9d32::/64" ];
endpoint = "svxqr7qjmk9beu7t.myfritz.net:59538";
#endpoint = "84.44.134.172:59538";
persistentKeepalive = 25;