wireguard: add dns

This commit is contained in:
Moritz Böhme 2023-02-24 18:42:37 +01:00
parent 55c7f4d57d
commit 75be58861b
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -25,6 +25,7 @@ in
address = [ "10.8.0.3/24" ]; address = [ "10.8.0.3/24" ];
listenPort = 51820; listenPort = 51820;
privateKeyFile = "/run/agenix/wireguard-private-key"; privateKeyFile = "/run/agenix/wireguard-private-key";
dns = [ "192.168.0.4" "9.9.9.9" ];
peers = [ peers = [
{ {
publicKey = "bT/U8ko3i//vH8LNn2R56JkGMg+0GLFrZSF81BBax08="; publicKey = "bT/U8ko3i//vH8LNn2R56JkGMg+0GLFrZSF81BBax08=";