donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python & Vue.js
https://donaldzou.github.io/WGDashboard-Documentation/
Apache License 2.0
1.64k stars 253 forks source link

V4 feedback #290

Closed barryboom closed 3 months ago

barryboom commented 3 months ago

Describe The Problem few minor issues which should be easy to fix

  1. the download instructions on the V4 branch have v4.0 which does not exist and fails to download correct versioning seems to be v4 V4 feedback2
  2. You have missed a d the advice message under peer remote endpoint in setting should read "changed" currently reads "change"

V4 feedback

and a few which might not be just as easy

  1. noticed that the option to enable MFA/2FA is only available at initial setup and account creation but does not seem to be possible after this stage within settings.
  2. creating a new peer does not auto fill with an available IP address which it did previously seems a backward step there or more complex than needs to be if by design. image
  3. create new configuration i had issues with this on old dashboard as well, Creates but does not function and switches off after reboot. Not sure if this is just for me but i need to install the secondary config via the WG script for it to work properly. image
  4. Auto start after reboot no longer seems to work either and needs to be manually started from terminal.

Other wise so far looks pretty good and sounds like a very nice list of improvements in the pipe line.

OS Information:

donaldzou commented 3 months ago

Hi! Thank you for the feedback and I loved them!! The v4 in the doc is intended so I don't forget to change in the official release.

Regarding

Auto start after reboot no longer seems to work either and needs to be manually started from terminal.

do you mean by using the .service file? I will test it and get back to you :)

bkeenke commented 3 months ago

image

cannot authorize using login and password admin:admin

donaldzou commented 3 months ago

cannot authorize using login and password admin:admin

Hi @bkeenke, could you please check if there are any errors in debug mode or under console in your browser?

bkeenke commented 3 months ago

cannot authorize using login and password admin:admin

Hi @bkeenke, could you please check if there are any errors in debug mode or under console in your browser?

In debug mode in the browser console: The "authToken" cookie does not have a valid "SameSite" attribute value defined. Soon, cookies without the "SameSite" attribute or with an incorrect value for this attribute will be considered "Lax". This means that cookies will no longer be sent to external contexts. If your application depends on this Cookie being available in any contexts, add a "SameSite=None" attribute label to it. To learn more about the "SameSite" attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. The problem was due to the fact that I logged in through a mobile phone, Safari, through a PC everything was fine, there was this warning in the registration window.

изображение When adding a new configuration, if the address already exists, it does not allow you to change it, you have to reload the page, same with the port

изображение I created wg0 but when I start it says that it already exists

donaldzou commented 3 months ago

Hi @bkeenke, it seems like you turned on wg0 and somehow the configuration is not /etc/wireguard hence why you're able to create one. Mind if I ask how did you access the dashboard? Do you have any proxy in between the browser and the dashboard?

donaldzou commented 3 months ago

Will close this issue for @barryboom since I finished fixing issue brought up in the first comment 🎉 and will move the issue for @bkeenke an an individual ticket.

bkeenke commented 3 months ago

Hi @bkeenke, it seems like you turned on wg0 and somehow the configuration is not /etc/wireguard hence why you're able to create one. Mind if I ask how did you access the dashboard? Do you have any proxy in between the browser and the dashboard?

No, I just launched the dashboard on the test server