modules/wg: use custom dns server

This commit is contained in:
Dmitriy Pleshevskiy 2023-08-01 12:54:35 +03:00
parent b6b8e8dc82
commit 23d2192b23
Signed by: pleshevskiy
GPG Key ID: 79C4487B44403985
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ in
wg0 = {
# Determines the IP address and subnet of the client's end of the tunnel interface.
address = [ cfg.ip ];
dns = [ "10.20.30.1" ];
listenPort = serverPort; # to match firewall allowedUDPPorts (without this wg uses random port numbers)