WGDashboard icon indicating copy to clipboard operation
WGDashboard copied to clipboard

WGDashboard v4.0 (was v3.1) Suggestions

Open donaldzou opened this issue 3 years ago • 51 comments

  1. Traffic statistics function ❤️ from #101
  2. API interface ❤️ from #101
  3. Block peers without deleting it. ❤️ from #88
  4. Remove peers after a certain amount of time. ❤️ from #86
  5. Kill Switch at Sign In page. ❤️ from #85

donaldzou avatar Jan 18 '22 05:01 donaldzou

—- @donaldzou Your platform has so much expandability potential -love it!

Was having issues where peers info didn't populate. (hangs forever) Noticed especially when two sessions accessed portal at same time. Work around was to periodically delete tinydb file , when glitched, so it could rebuild. —- Ultimately My fix was to re-write using MongoDB. Works fantastic now!!! — I now have an admin and user facing portals. —- [ Added: ] Traffic data posted to each peers Mongo account; API overlay to allow access with NodeJS as middleware; email user tunnel creds; Auto ip allocation; instant domain name for public routable IP’s; a disabled DB field to implement granular peer tunnel control. Working on BGP peering automation now. —- Its fantastically expandable.

airgapper avatar Jan 18 '22 19:01 airgapper

Hi @airgapper thank you!!! The v3.0 update, I moved from tinydb to SQLite, to prevent the issue you mentioned. It was caused by race condition when more than 1 flask session is accessing the same "Configuration" page ;) And I love how you developed new features with it! If you don't mind, I would love to see the version you rewrote.

donaldzou avatar Jan 18 '22 19:01 donaldzou

just small tiny thing you could add to the updater

=> at the question if we want to update the wg-dashboard make the question like this [Y/n] Y in capital because it is the default setting and if some enters "Y" or "y" or "N" or "n" it should accept those letters, right now it only accepts capital letters

nicedevil007 avatar Feb 01 '22 12:02 nicedevil007

just small tiny thing you could add to the updater

=> at the question if we want to update the wg-dashboard make the question like this [Y/n] Y in capital because it is the default setting and if some enters "Y" or "y" or "N" or "n" it should accept those letters, right now it only accepts capital letters

Will do will do ;)

donaldzou avatar Feb 11 '22 02:02 donaldzou

Is a backup and restore function possible? Then this is my wish for v3.1 :)

tokon2000 avatar Feb 20 '22 17:02 tokon2000

Sorry for the dump question, but how can I block a peer? I only see how to switch of the whole configuration. Thank you!

xiki808 avatar Feb 28 '22 20:02 xiki808

Sorry for the dump question, but how can I block a peer? I only see how to switch of the whole configuration. Thank you!

Hi! This feature is not implement yet, but I'm planning to implement it in the next release ;) Stay tune!

donaldzou avatar Feb 28 '22 22:02 donaldzou

As a suggestion, I would like a button to be implemented to reset the statistics of the total global traffic.

eduardorosabales avatar Mar 05 '22 19:03 eduardorosabales

Looking very nice! One feature that other wg web UI's have is the ability to email the configuration of a peer after generating it.

adrinux avatar Mar 23 '22 16:03 adrinux

Allow for multiple wireguard servers (separate boxes). using paramiko and subprocesses.

airgapper avatar Mar 27 '22 20:03 airgapper

A Single Sign On option utilizing solutions such as SAML 2.0, OAUTH 2.0 or OpenID Connect

pradhyumk avatar Jun 22 '22 13:06 pradhyumk

Please add traffic information to the main page. So that you can see the configuration traffic without going into the configuration.

bolgovrussia avatar Jul 02 '22 05:07 bolgovrussia

If possible, reduce the number of decimal places in the traffic display Xnip2022-07-02_08-07-27 .

bolgovrussia avatar Jul 02 '22 05:07 bolgovrussia

What about making the Allowed IP Adress clickable?

image

In my environment there are routers as a client behind that I can access from my site to configure them remotely. Would be awesome to be able to jump directly to them from the WG-Dashboard (in a new tab ofc).

nicedevil007 avatar Aug 19 '22 06:08 nicedevil007

is this project abandoned?

eduardorosabales avatar Aug 19 '22 15:08 eduardorosabales

I hope it will be soon because we have been waiting for an update for months... and I use your system a lot and it would be unpleasant to move to another

eduardorosabales avatar Aug 19 '22 15:08 eduardorosabales

I hope it will be soon because we have been waiting for an update for months... and I use your system a lot and it would be unpleasant to move to another

I'm super happy that you guys been using this project. I will definitely make those update soon. But when you working 9-to-5 vs when you still at school is different ;) I hope you guys can understand that.

donaldzou avatar Aug 19 '22 15:08 donaldzou

Everything is fine :) for my part I just see a problem here and there what can be improved

Recently we got your Dashboard working on alma Linux… was a bit hard to figure out what the problems are without good debuging output… but well we did it 👍

we should keep this thread for suggestions now right :)

nicedevil007 avatar Aug 19 '22 17:08 nicedevil007

First of all, awesome project! It really has potential to become something great!

Some suggestions: I use a script that automatically generates my wireguard config. This script pulls down a list of hosts and public keys via central api, builds a wireguard config and then compares it to the installed version. If it differs, it installs the new version and reloads wireguard. This way I can deploy a new server, add it's info to the central api and within minutes it will setup a tunnel to all the other servers in the network. This works great, but it makes it impossible for me to use WGDashboard, mainly due to the fact that WGDashboard erases all comments in the config file. I use # comments to track names and changes and since WGDashboard erases them my script detects it as a change and generates a new config. Is there a way to make WGDashboard ignore comments and just let them be?

Also, it would be nice if WGDashboard could save the "Name" field from the webinterface as a # comment in the config file. That way I could add names in the webinterface but still see them when working in console.

bugsse avatar Aug 22 '22 12:08 bugsse

I don’t use the API thing as you do but the thing with comments would be realy nice, that’s how I started with WireGuard as well, and then there was WGDashboard 😂 I guess that is one of the downsides we have right now because wgdashboard is using an internal database for its connection names and the private keys for those clients to generate the QR codes with. But hey hope is dying last (is that right translation, guess not)

nicedevil007 avatar Aug 22 '22 20:08 nicedevil007

@bolgovrussia I like the granularity of 4 decimal places, but you can always change rounding from 4 down to 2

airgapper avatar Aug 29 '22 19:08 airgapper

I would love for a button that restarts an interface, in order to accept changes after creating a new peer for example, i need to turn off and then turn on an interface. but a restart button would make it so much more practical. :)

kryztoval avatar Oct 03 '22 22:10 kryztoval

We have been 7 months without updates, please I do not want to see myself in the obligation to change to another project, I like this one a lot. When will we have something new?

eduardorosabales avatar Oct 03 '22 23:10 eduardorosabales

Option to rename wg0 to something else in dashboard

ghost avatar Oct 29 '22 14:10 ghost

To keep it simple, there's no need to include "Peer" in the listing

Skærmbillede 2022-10-29 kl  16 36 28

And thanks for the work on WGDashboard. It is appreciated

ghost avatar Oct 29 '22 14:10 ghost

I hope it will be soon because we have been waiting for an update for months... and I use your system a lot and it would be unpleasant to move to another

Do you have any problems with current version?

ghost avatar Oct 29 '22 14:10 ghost

HTTPS SSL Please add HTTPS for WGDashboard. And even if the SSL certificate is self-signed. It's better than no SSL at all.

webastik avatar Jan 31 '23 21:01 webastik

for https you can use nginx proxy manager there you have also SSL certifikate with Lets Encrypt

hellblue avatar Mar 01 '23 11:03 hellblue

I suggest adding traffic quota (or limitation) for each user + expiration date. I assume expiration date is pretty straight forward: just a simple script that auto DISABLEs (temporarily deleted but kept somewhere for re-enabling) the user's (or peer's) account at a certain date. Also by traffic quota or limitation I mean the ability to limit data usage of a peer to X GB per month. I think this can probably be done using iptables quotas and peers' internal WG IPs but I'm not sure.

poorp avatar Mar 16 '23 18:03 poorp