Adding a DNS option to the wireguard peer config generator.
authorNicholaos Mouzourakis <nevumx@gmail.com>
Wed, 19 Apr 2023 04:24:00 +0000 (00:24 -0400)
committerPaul Donald <newtwen@gmail.com>
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 <nevumx@gmail.com>
Signed-off-by: Paul Donald <newtwen@gmail.com>
Tested-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit 990696d73f982de015df7c7d552daef1a03f50c5)
(cherry picked from commit 5b26887c52097dc9364c9b4f4dfb2d6ba2f08818)
protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js