Adding a DNS option to the wireguard peer config generator.
authorNicholaos Mouzourakis <[email protected]>
Wed, 19 Apr 2023 04:24:00 +0000 (00:24 -0400)
committerPaul Donald <[email protected]>
Mon, 4 Dec 2023 23:13:16 +0000 (00:13 +0100)
commit36b357f7dd9a898cda2df4fb80ef3d37e03da6f6
tree84a405fda11372389d7ac52be520fd9eaee3ebf5
parent1255516dc2b63861ebdf48a4e34fc1848ce5b63e
Adding a DNS option to the wireguard peer config generator.
Some clients like iOS require this explicitly, and so this change
adds the appropriate config with some sensible defaults.

Closes #6351

Signed-off-by: Nicholaos Mouzourakis <[email protected]>
Signed-off-by: Paul Donald <[email protected]>
Tested-by: Paul Donald <[email protected]>
(cherry picked from commit 990696d73f982de015df7c7d552daef1a03f50c5)
(cherry picked from commit 5b26887c52097dc9364c9b4f4dfb2d6ba2f08818)
protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js