Commit graph

180 commits

Author SHA1 Message Date
Arminas
09abbdfcf0
Created restart-wg.sh file
Created wireguard restart script, which compares wg0.conf part between [Interface] and first peer with previous version for changes, and, if there is any - restarts whole wireguard, if the only changes are done to peers, it calls "wg syncconf", eliminating client disconnection after pressing apply config problem.
2023-02-10 15:23:15 +02:00
Arminas
aae63d1af9
Changed wgui.service
Changed wgui.service to call additional restart-wg.sh file.
2023-02-10 15:18:14 +02:00
Arminas
5986e1a7d0
Changed wgui.service
Updated wgui.service to only apply changes, that were made to clients. Not fully tested, could cause issues with wg-quick specific options.
2023-02-10 08:58:36 +02:00
Arminas
fdb36e4711
Merge pull request #6 from armisss4/revert-1-develop
Revert "Merge from development branch"
2023-01-04 12:55:11 +02:00
Arminas
43148cebf5
Revert "Merge from development branch" 2023-01-04 12:55:00 +02:00
Arminas
b06eb96e9d
Merge pull request #5 from armisss4/revert-2-User-control-patch
Revert "User control patch"
2023-01-04 12:54:37 +02:00
Arminas
b6eb046244
Revert "User control patch" 2023-01-04 12:54:23 +02:00
armisss4
f8a10417ea
Merge pull request #2 from armisss4/User-control-patch
User control patch
2022-12-30 04:10:16 +02:00
armisss4
93731c3f3e
User control patch
Changed available actions done by an admin to itself: admin can no longer remove itself from users list, admin can no longer change its user type to manager.
2022-12-30 04:09:27 +02:00
armisss4
4cc79da4cf
Merge pull request #1 from armisss4/develop
Merge from development branch
2022-12-29 13:02:36 +02:00
armisss4
4b5057e658
Security fixes
Patched some security holes with GetUser and UpdateUser, did some minor cleanup
2022-12-29 12:54:31 +02:00
armisss4
df10417668
User management
More than one user with Manager or Admin permissions can be created from UI
2022-12-29 09:42:12 +02: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