Commit graph

169 commits

Author SHA1 Message Date
Nathan Aclander
d9dead0381
Match MTU value between settings and documentation
Under Global Settings, the MTU value on the left is by default set to 1450, but the documentation claims 1420. This updates the documentation to match the correct default value.
2023-01-11 19:55:09 -08:00
Nenodema
f256668a99
WireGaurd --> WireGuard (Typo) (#281) 2022-12-26 10:12:09 +01:00
Paul Dee
e76c573b1d
Some comment fixes (#278) 2022-12-26 10:02:07 +01:00
Paul Dee
310c8343d3
Make client QRCode honour client Use Server DNS setting. (#276)
Fixes issue #275
2022-12-26 10:00:59 +01:00
ByteDream
82c8fe9926
Fix doubled tags on reload (#277) 2022-12-21 21:55:49 +01:00
Khanh Ngo
86e8ad41cb
feat: update user profile (#280) 2022-12-21 21:52:00 +01:00
Khanh Ngo
24a0a9f5ee
Update readme 2022-12-13 22:48:00 +01:00
Khanh Ngo
ea55b36a6f
Update readme and code comments (#272) 2022-12-13 22:44:11 +01:00
Paul Dee
4b0a0d9061
Skip PresharedKey generation (#271)
Helpful for those who already have users deployed.

Enter `-` in the Preshared Key field at user creation time to skip its
creation.

The template conf takes care of the rest.

Fixes issue #235
2022-12-13 21:35:13 +01:00
Paul Dee
99b586f1f7
README improvements. (#268) 2022-12-13 21:31:19 +01:00
Paul Dee
d32064dd0e
Fix login redirect problems. (#270)
After login, my browser gets a 404 for `/wireguard`. `wireguard` might
not be explicitly set by `BASE_PATH`, so just use the `{{.basePath}}`
instead.

Fixes #259.
2022-12-13 21:29:07 +01:00
mojothemonkey2
de6ad05577
Manage Wireguard restarts from docker container (#267) 2022-12-13 19:50:14 +01:00
Khanh Ngo
be2ffba417
Fix GH Action runner image 2022-12-02 23:52:39 +01:00
itsvit-vlasov-y
a80741e748
Added checkbox FwMark in QRCode generation (#260) 2022-12-02 23:40:29 +01:00
Marcus Wichelmann
9d2dd711a1
Disable automatic endpoint address detection when endpoint is supplied (#240) 2022-12-02 23:10:49 +01:00
Weegley
033bea6fb1
Update global_settings.html (#243) 2022-12-02 23:08:54 +01:00
Weegley
c8189bb969
Update base.html (#242) 2022-12-02 23:08:07 +01:00
Cedrik Heusser
eab8d55d63
Add SMTP_ENCRYPTION Options to README (#237) 2022-12-02 23:07:12 +01:00
ned3y2k
887bc778df
Fixed the problem that Wake On Lan does not work when BASE_PATH is set. (#229)
Fix time display issue in iOS WebKit.
2022-09-30 10:39:12 +02:00
Jag_k
63d6e1f391
Add support to SSL/TLS/SSLTLS encryption for SMTP (#221) 2022-09-30 10:26:17 +02:00
Marcus Wichelmann
2c2db61158
Add support for password hashes as an optional alternative to plaintext passwords (#216) 2022-09-30 10:24:54 +02:00
Marcus Wichelmann
29b017f277
Add MTU to client configs (#214) 2022-09-30 10:22:14 +02:00
Joao M
0a33ab35b6
Minor Changes (#210) 2022-09-30 10:21:20 +02:00
Khanh Ngo
efbc36d61f
Update golang and alpine docker image tag (#209) 2022-07-14 08:45:15 +02:00
Marcus Wichelmann
1c6fb6a424
Write the initial wireguard config on start, if none exists (#207) 2022-07-14 08:40:16 +02:00
Constantin
ec7db055c8
improve status UI (#196) 2022-07-14 08:39:33 +02:00
Grigory Stupnikov
3143268465
Update screenshot (#203) 2022-07-14 08:39:01 +02:00
Marcus Wichelmann
031d2cb7e8
Mitigate CSRF attacks (#206) 2022-07-14 08:36:47 +02:00
Marcus Wichelmann
97652be545
Use ConstantTimeCompare to make the login more secure and not leak information about the used password (#205) 2022-07-14 08:35:58 +02:00
Khanh Ngo
f43c59c043
Dont write FwMark if empty (#192) 2022-04-26 21:33:23 +02:00
Khanh Ngo
ced211a822
Update README 2022-04-26 21:11:13 +02:00
Khanh Ngo
203fe927fd
Update README (#191) 2022-04-26 21:04:22 +02:00
Khanh Ngo
6bc9a5fd87
fix the homepage href 2022-04-26 20:36:39 +02:00
Fin Christensen
569eaaee37
Add environment variables for configuration (#189) 2022-04-26 20:35:35 +02:00
Quentin Machu
87b08a8f7c
*: allows for BASE_PATH configuration (#183) 2022-04-25 09:17:13 +02:00
Khanh Ngo
90bb2851bf
Update help widget 2022-04-24 10:21:16 +02:00
fr123k
a5fdb1ad1d
Add ForwardMark to global settings (#173) 2022-04-24 09:44:33 +02:00
slch
100c4ee1f4
Custom wg conf template (#179) 2022-04-24 09:42:08 +02:00
Khanh Ngo
ad4ca4d9bb
UI adjustment (#172)
- Adjust the UI
- Add more docs using tooltips
2022-03-20 13:53:09 +01:00
ned3y2k
0224e1f137
Implements Wake On Lan and management features (#164) 2022-03-20 10:03:27 +01:00
Maxim Kochurov
037a6c56d3
Implement Optional Private Keys (#161) 2022-03-13 17:33:37 +01:00
Radu Radu
4be3a65691
Change info box render size on large screens (#155) 2022-02-12 19:52:50 +01:00
Radu Radu
ef552aaed4
Remove From prefix from SMTP (#154) 2022-02-12 19:52:42 +01:00
Matt3o12
71ede02e1c
PresharedKey is now only included if set (#141)
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
Tagada
af62be378f
SMTP support (#146) 2022-01-29 09:01:37 +01:00
Luke Lambert
da99259f55
QR code behind button and faster modal loading (#144) 2022-01-29 08:53:56 +01:00
brittondodd
341f9b6a42
Allow passing extra allowed subnets (#114) 2022-01-29 08:45:00 +01:00
Khanh Ngo
f3a788e3a4
Create Jenkinsfile 2021-12-05 14:02:07 +01:00
Khanh Ngo
65db3671a6 Merge branch 'master' of github.com:ngoduykhanh/wireguard-ui 2021-12-04 09:04:18 +01:00
Max Pedraza
1da9b8418e
I've modify the place where I inserted code to minimize the number of files touched. (#131) 2021-12-04 09:03:56 +01:00