Commit graph

8 commits

Author SHA1 Message Date
Matt3o12
71ede02e1c
PresharedKey is now only included if set ()
PresharedKey is now only set in the server and client config if the key
is set and not null (or empty).

I added this feature because I was importing old config files from
clients that did not have a preshared key set. Clients can be created
without preshared keys when editing db/client/ files manually. If the
field is not set, wireguard-ui creates invalid configs by producing:

PresharedKey =

This patch remvoes this behavior and just skips the preshared key if not
set.

Co-authored-by: Khanh Ngo <k@ndk.name>
2022-01-29 09:11:50 +01:00
brittondodd
341f9b6a42
Allow passing extra allowed subnets () 2022-01-29 08:45:00 +01:00
Khanh Ngo
2d9eeb08e8
Make MTU and PersistentKeepalive optional () 2021-11-20 21:02:23 +01:00
Daniel Scrivano
cb6dd3cef1
fix typo () 2021-11-06 13:15:24 +01:00
Jaryl Chng
80cdb768a6
added Post Up and Post Down configuration to server interface 2020-08-22 19:56:53 +08:00
Khanh Ngo
9617425033
Add preshared key in wireguard config () 2020-05-28 09:25:21 +07:00
Khanh Ngo
d017ea17c8
Don't write disabled client to wireguard config file 2020-04-23 23:54:46 +07:00
Khanh Ngo
7c3cac8084
Add Apply Config button to save wireguard config file 2020-04-23 09:29:44 +07:00