Commit graph

95 commits

Author SHA1 Message Date
Khanh Ngo
a12ed9bf51
chore: code adjustment 2023-12-29 10:54:47 +01:00
0xCA
41bf0bc92c
Telegram support (#488) 2023-12-29 09:22:12 +01:00
0xCA
841db62347
Fixed tag input being too small and unable to fit a CIDR (#509)
Co-authored-by: 0xCA <undefined>
2023-12-28 08:37:26 +01:00
kevin
867aa1305d
Fix logic error and make some settings optional in wg.conf template. (#506) 2023-12-27 20:50:30 +01:00
0xCA
a9be53899c
Subnet range selector, interface fixes (#481) 2023-12-27 09:08:55 +01:00
0xCA
47fac2b49b
Fixed tag input being too small and unable to fit a CIDR (#483)
Co-authored-by: 0xCA <undefined>
2023-12-25 20:25:38 +01:00
nebulosa2007
c8623082fe
Make Interface PreDown setting. (#480) 2023-12-25 20:23:51 +01:00
Gabriel Soares
e2e1159ef4
add endpoint field to client (#470) 2023-12-25 20:21:37 +01:00
Paul Dee
364a43e3dc
Implement updating a client Pub+PSK when editing a client (#401)
This covers the normal use-case where clients generate keys
locally on their device and notify the server of their new/updated keys.

The server verifies Preshared and Public keys independently of each
other. Should a client generate a new tunnel which lacks a PSK and send
only a Public key to the server (admin) where the earlier server created
profile has a Preshared key, the server admin/user must determine the
course of action:
keep or remove the PSK.
2023-08-11 10:34:11 +02:00
Hoang Nguyen
6bbe230fe8
[Vulnerability] Cross site scripting (XSS) and Open Redirect on the login page (#396) 2023-06-23 09:42:39 +02:00
andycandy-de
e9357d83e2
Added Table to global settings (#308) 2023-05-24 12:06:05 +02:00
ByteDream
ec757286c5
Hide user settings if login is disabled (#356) (#361) 2023-05-24 12:04:02 +02:00
Paul Dee
cfbdae7abb
Follow-up fix for fwmark 101b5564c2 (#372)
Remove all FwMark settings from client configs (illegal) and QRcode
(also illegal).
2023-05-24 12:02:07 +02:00
Khanh Ngo
5e0217db04
Set password type field 2023-03-16 16:25:38 +01:00
Khanh Ngo
d3c47c53c8 QR code fixes 2023-03-16 09:09:48 +01:00
Khanh Ngo
00f7f3d280 Style fixes 2023-03-16 08:58:28 +01:00
Paul Dee
814093cdd3
Stamp git commit into docker builds. (#325) 2023-03-15 21:39:20 +01:00
Paul Dee
b80c44af43
Fix for fwmark (#279) 2023-03-15 21:37:39 +01:00
Arminas
d1cf0ca7eb
Client filtration (#330) 2023-03-15 21:24:44 +01:00
Arminas
9f20fe6c09
Show apply config button only when needed (#292) 2023-03-15 21:15:41 +01:00
Arminas
6dd5590940
User management panel (#289) 2023-03-15 21:13:53 +01:00
Arminas
aadf099f50
About page (#296) 2023-02-16 17:31:24 +01:00
Nathan Aclander
64b8eba092
Match MTU value between settings and documentation (#298)
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-02-16 17:24:23 +01:00
Arminas
40a0ba859e
Client search (#303) 2023-02-16 17:17:10 +01:00
Arminas
cc285c5c20
Status show IP's (#291) 2023-02-16 17:10:11 +01:00
ByteDream
a866977cb0
Add favicon (#288) 2023-02-16 17:09:24 +01:00
Arminas
ccffe4028a
Qr code filename fix (#290) 2023-02-16 17:08:26 +01:00
Paul Dee
e76c573b1d
Some comment fixes (#278) 2022-12-26 10:02:07 +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
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
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
itsvit-vlasov-y
a80741e748
Added checkbox FwMark in QRCode generation (#260) 2022-12-02 23:40:29 +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
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
Marcus Wichelmann
29b017f277
Add MTU to client configs (#214) 2022-09-30 10:22:14 +02:00
Constantin
ec7db055c8
improve status UI (#196) 2022-07-14 08:39:33 +02:00
Marcus Wichelmann
031d2cb7e8
Mitigate CSRF attacks (#206) 2022-07-14 08:36:47 +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
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
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
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