modules/wg: use custom dns server
This commit is contained in:
parent
b6b8e8dc82
commit
23d2192b23
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue