Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WGDashboard v4.0 (was v3.1) Suggestions #129

Closed
donaldzou opened this issue Jan 18, 2022 · 57 comments
Closed

WGDashboard v4.0 (was v3.1) Suggestions #129

donaldzou opened this issue Jan 18, 2022 · 57 comments
Labels
enhancement New feature or request

Comments

@donaldzou
Copy link
Owner

donaldzou commented Jan 18, 2022

  1. Traffic statistics function ❤️ from Suggestions about the project #101
  2. API interface ❤️ from Suggestions about the project #101
  3. Block peers without deleting it. ❤️ from Block peer feature #88
  4. Remove peers after a certain amount of time. ❤️ from Request feature that removes peers by time value #86
  5. Kill Switch at Sign In page. ❤️ from Kill switch at signing page #85
@donaldzou donaldzou added the enhancement New feature or request label Jan 18, 2022
@donaldzou donaldzou pinned this issue Jan 18, 2022
@airgapper
Copy link

—- @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.

@donaldzou
Copy link
Owner Author

donaldzou commented Jan 18, 2022

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.

@nicedevil007
Copy link

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

@donaldzou
Copy link
Owner Author

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 ;)

@tokon2000
Copy link

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

@xiki808
Copy link

xiki808 commented Feb 28, 2022

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

@donaldzou
Copy link
Owner Author

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!

@eduardorosabales
Copy link

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

@adrinux
Copy link

adrinux commented Mar 23, 2022

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.

@airgapper
Copy link

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

@pradhyumk
Copy link

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

@bolgovrussia
Copy link

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

@bolgovrussia
Copy link

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

@nicedevil007
Copy link

nicedevil007 commented Aug 19, 2022

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).

@eduardorosabales
Copy link

is this project abandoned?

@donaldzou
Copy link
Owner Author

donaldzou commented Aug 19, 2022 via email

@eduardorosabales
Copy link

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

@donaldzou
Copy link
Owner Author

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.

@nicedevil007
Copy link

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 :)

@bugsse
Copy link

bugsse commented Aug 22, 2022

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.

@nicedevil007
Copy link

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)

@airgapper
Copy link

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

@kryztoval
Copy link

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. :)

@eduardorosabales
Copy link

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?

@ghost
Copy link

ghost commented Oct 29, 2022

Option to rename wg0 to something else in dashboard

@ghost
Copy link

ghost commented Oct 29, 2022

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

@eduardorosabales
Copy link

eduardorosabales commented Nov 28, 2023

Ask the creator, there will never be another update?
@donaldzou

@donaldzou
Copy link
Owner Author

@eduardorosabales Yes. I'm planning to do a revamp of the backend and frontend, since it is written with Flask and jQuery (Not the best thing to do nowadays).. I'm starting on it so please bare with me.

As always, thanks all of you using my project and still using it :)

@eduardorosabales
Copy link

I use your project a lot, it has helped me a lot but improvements can be made and everything previously said here should be implemented.
More or less the estimated time you would be releasing an update

@bkeenke
Copy link

bkeenke commented Nov 28, 2023

@donaldzou
It would be nice to have an interface language; most of the words are clear.
but I would still like a choice of language

@barryboom
Copy link

@eduardorosabales Yes. I'm planning to do a revamp of the backend and frontend, since it is written with Flask and jQuery (Not the best thing to do nowadays).. I'm starting on it so please bare with me.

As always, thanks all of you using my project and still using it :)

nice to read you are coming back to the project and look to revamp. a nice easy one to do would be promote the beta version which looks so much better and gives dark mode would be good for them who are happy with Flask etc.

@donaldzou
Copy link
Owner Author

@eduardorosabales Yes. I'm planning to do a revamp of the backend and frontend, since it is written with Flask and jQuery (Not the best thing to do nowadays).. I'm starting on it so please bare with me.
As always, thanks all of you using my project and still using it :)

nice to read you are coming back to the project and look to revamp. a nice easy one to do would be promote the beta version which looks so much better and gives dark mode would be good for them who are happy with Flask etc.

Yes, balancing work and school is been hard for me, but I guess is good have some "Me Time" to work on this project is important for me as well :) I can pull myself out from all those stress!

@donaldzou
Copy link
Owner Author

if anyone is curious, I will make all the updates under the branch v3.1-dev2023

@kontorskiy777
Copy link

kontorskiy777 commented Dec 24, 2023

Hello, I found a log service for WG on the website, checked its functionality, it works on the basis of handshakes, shows the time and date, user name, its external IP address from which users connected (at what time) and disconnected (at what time) .
Please consider adding this features to your control panel, it will be very useful.
https://github.com/amitn322/wireguard

@eduardorosabales
Copy link

eduardorosabales commented Jan 26, 2024

I'm glad you got back to work., and I'm already using your beta version, how happy I am, I would like you to put a type of quota for each peer so I could control my users by total bandwidth consumption... And I would like the counter to be reset manually.
keep up your great work

@eduardorosabales
Copy link

@donaldzou check the previous message

@donaldzou
Copy link
Owner Author

@donaldzou check the previous message

Thank you for the suggestion, I'm actually thinking that and will be implement into the new version :)

@eduardorosabales
Copy link

@donaldzou check the previous message

Thank you for the suggestion, I'm actually thinking that and will be implement into the new version :)

Do you think it will be ready in less than 1 month, the truth is that I need it as soon as possible, I need to be able to control by installments and reset that counter

@donaldzou
Copy link
Owner Author

@donaldzou check the previous message

Thank you for the suggestion, I'm actually thinking that and will be implement into the new version :)

Do you think it will be ready in less than 1 month, the truth is that I need it as soon as possible, I need to be able to control by installments and reset that counter

Hi, I would love to finish the new update, but with my current work, school and personal life, I'm trying my best to finish it. Hope you can understand :)

@upgo7502
Copy link

upgo7502 commented Feb 5, 2024

Hello Dear
Please add expireation date for peers .

Thanks in advance

3 similar comments
@upgo7502
Copy link

upgo7502 commented Feb 5, 2024

Hello Dear
Please add expireation date for peers .

Thanks in advance

@upgo7502
Copy link

upgo7502 commented Feb 5, 2024

Hello Dear
Please add expireation date for peers .

Thanks in advance

@upgo7502
Copy link

upgo7502 commented Feb 5, 2024

Hello Dear
Please add expireation date for peers .

Thanks in advance

@rlrexyz
Copy link

rlrexyz commented Mar 31, 2024

For example, we should be able to choose the date when a peer will close.

Example: until 01.0.1.2025

After the specified period of time, the peer becomes deactivated.

@donaldzou donaldzou changed the title WGDashboard v3.1 Suggestions WGDashboard v4.0 (was v3.1) Suggestions Mar 31, 2024
@potap1978
Copy link

is this project abandoned?

@donaldzou
Copy link
Owner Author

is this project abandoned?

Hi! No it is not ☺️ currently is university final season and I'm focusing on that so I can get the hell out of it🤣 I'm promising a new release of this project so please let me know if you have any suggestions. Thanks a lot!!

@Profik
Copy link

Profik commented Jul 24, 2024

@donaldzou

When will the first release be released?

From the wishes:

  1. Make a registration for users, where a person can download a QR CODE or a configuration file himself.
  2. Make a restriction not only on traffic, but also on the date range (month) with the possibility of extension.

Thanks for the cool project. You will be a successful developer, colleague :)

@donaldzou
Copy link
Owner Author

@donaldzou

When will the first release be released?

From the wishes:

  1. Make a registration for users, where a person can download a QR CODE or a configuration file himself.
  2. Make a restriction not only on traffic, but also on the date range (month) with the possibility of extension.

Thanks for the cool project. You will be a successful developer, colleague :)

Hi @Profik,

I'm still working on some new features and testing it :) Thank you for providing these suggestions.

  1. Make a registration for users, where a person can download a QR CODE or a configuration file himself.
    I think is a great idea but at this point the dashboard is targeted for the admin instead of facing clients. But this is definitely a good suggestion in future release.
  1. Make a restriction not only on traffic, but also on the date range (month) with the possibility of extension.
    Currently I'm implementing where the dashboard can automatically restrict or delete a peer in a specific date or data usage is over a limit. If you want to try it out for fun, you can clone my v4.0 branch and check it out ;)

@donaldzou
Copy link
Owner Author

To all the people who is following this issue, I've been updating the v4.0 branch and posting some preview on the readme.md of the main branch! If you're interested, you can head to the v4.0 branch or the project and check it out :)

@donaldzou
Copy link
Owner Author

donaldzou commented Aug 4, 2024

Roadmap on v4.0

I will keep updating this comment :)

Updates on the new features everyone requested 😄

Still need to work on

  • Backup & restore function on db and WireGuard file. 🫶 to @tokon2000
  • Reset Peer or Configuration's data usage. 🫶 to @eduardorosabales
  • Email configuration, thinking of using SendGrid or MailChip to avoid the hassle of creating domain and such. 🫶 to @adrinux
  • Add traffic information on main page. 🫶 to @bolgovrussia
  • Restart button for configuration. 🫶 to @airgapper
  • Different language. 🫶 to @bkeenke
  • Tracking when did peer connected and disconnected. 🫶 to @kontorskiy777
  • An interface facing the client to download with QR Code: Maybe a better way is to create an unique link, that link to a page where only show the QR code and a button to download, and the link can expire at a time. 🫶 to @Profik

New feature for v4.0 will cut off from here, other feature will release in later releases 😃

Features not consider at the moment. Sorry 🥹

  • Using SSO for login: The reason is I'm trying to keep the dashboard simple and not adding 3rd party service to add more complexity. 🫶 to @pradhyumk
  • Add rounding to 2 decimals on traffic. 🫶 to @bolgovrussia
  • Parsing comments in .conf: I've tried to implement the function, but I can't guaranteed the stability since there are tons way of writing comments in a config file. 🫶 to @bugsse
  • Remove "Peer" keyword on each peer: I'd like to keep the uniform design of each information. 🫶 to @ghost

@Profik
Copy link

Profik commented Aug 4, 2024

Дорожная карта по версии 4.0

Я буду продолжать обновлять этот комментарий :)

Обновления новых функций, которые все просили 😄

Еще нужно поработать

  • Функция резервного копирования и восстановления базы данных и файла WireGuard. 🫶@tokon2000
  • Сбросьте использование данных Peer или Configuration. 🫶@eduardorosabales
  • Конфигурация электронной почты, думаю использовать SendGrid или MailChip, чтобы избежать хлопот с созданием домена и т.п. 🫶 to@adrinux
  • Добавьте информацию о дорожном движении на главную страницу. 🫶 to@bolgovrussia
  • Кнопка перезагрузки для настройки. 🫶 to@airgapper
  • Другой язык. 🫶 to@bkeenke
  • Отслеживание того, когда пир подключался и отключался. 🫶 to@kontorskiy777
  • Интерфейс, обращенный к клиенту для загрузки с QR-кодом: Возможно, лучшим способом будет создание уникальной ссылки, которая ведет на страницу, где отображаются только QR-код и кнопка для загрузки, и ссылка может истечь в определенный момент времени. 🫶 to@Profik

Новая функция v4.0будет отключена здесь, другие функции будут выпущены в более поздних версиях 😃

Функции не рассматриваются в данный момент. Извините 🥹

  • Использование единого входа для входа: Причина в том, что я пытаюсь сделать панель управления простой и не добавлять сторонние сервисы, чтобы не усложнять ее. 🫶@pradhyumk
  • Добавьте округление до 2 знаков после запятой по трафику. 🫶 to@bolgovrussia
  • Анализ комментариев в .conf: Я пытался реализовать функцию, но не могу гарантировать стабильность, так как существует множество способов записи комментариев в файле конфигурации. 🫶 to@bugsse
  • Удалить ключевое слово «Peer» для каждого узла: Я бы хотел сохранить единый дизайн каждой информации. 🫶 to@ghost

Dear friend, I will install this branch for myself, I will test and write about bugs or recommendations found.

@donaldzou donaldzou mentioned this issue Aug 5, 2024
14 tasks
@donaldzou donaldzou unpinned this issue Aug 5, 2024
@donaldzou
Copy link
Owner Author

Don't wanna spam other's inbox lol. I will close this issues and created a new issue for the road map. Thanks all of you suggesting features throughout the last 3 years.

the-office-bow

✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests