Browse Source
Add DNS to server interface definition
pull/522/head
Matt Blu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/lib/WireGuard.js
|
|
@ -100,6 +100,7 @@ PreUp = ${WG_PRE_UP} |
|
|
PostUp = ${WG_POST_UP} |
|
|
PostUp = ${WG_POST_UP} |
|
|
PreDown = ${WG_PRE_DOWN} |
|
|
PreDown = ${WG_PRE_DOWN} |
|
|
PostDown = ${WG_POST_DOWN} |
|
|
PostDown = ${WG_POST_DOWN} |
|
|
|
|
|
${WG_DEFAULT_DNS ? `DNS = ${WG_DEFAULT_DNS}` : ''} |
|
|
`;
|
|
|
`;
|
|
|
|
|
|
|
|
|
for (const [clientId, client] of Object.entries(config.clients)) { |
|
|
for (const [clientId, client] of Object.entries(config.clients)) { |
|
|
|