wireguard: add dns
parent
55c7f4d57d
commit
75be58861b
|
@ -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=";
|
||||||
|
|
Loading…
Reference in New Issue