wireguard: add dns
This commit is contained in:
parent
55c7f4d57d
commit
75be58861b
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue