Browse Source

Add DNS to server interface definition

pull/522/head
Matt Blu 3 years ago
committed by GitHub
parent
commit
24f30be265
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/lib/WireGuard.js

1
src/lib/WireGuard.js

@ -100,6 +100,7 @@ PreUp = ${WG_PRE_UP}
PostUp = ${WG_POST_UP}
PreDown = ${WG_PRE_DOWN}
PostDown = ${WG_POST_DOWN}
${WG_DEFAULT_DNS ? `DNS = ${WG_DEFAULT_DNS}` : ''}
`;
for (const [clientId, client] of Object.entries(config.clients)) {

Loading…
Cancel
Save