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

luci-app-statistics: rework openvpn.js definition to support VPN client/server (multi-users) #7414

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jdd272
Copy link

@jdd272 jdd272 commented Nov 21, 2024

Modified openvpn.js definition to work for both OpenVPN client and server.
It still displays Compression & Traffic graph for OpenVPN client and displays one graph per connected User on an OpenVPN server instance. I've also added a graph displaying Total number of connected users

@jdd272 jdd272 force-pushed the feature_luci_statistics-openvpn-server-multi-users-graphs branch from d6b125b to 5aa1809 Compare November 21, 2024 15:14
…ti-users) at the same time

I've modified the code to keep displaying Compression/Trafic graphs for OpenVPN clients, but also supporting status-version 2 OpenVPN server instance. If multi mode is enabled it will display one graph (Traffic) per connected user.
I have also added another graph to display total number of connected users if the option is enabled in collectd

"Signed-off-by: Julien DIOUF <[email protected]>"
@jdd272 jdd272 force-pushed the feature_luci_statistics-openvpn-server-multi-users-graphs branch from 5aa1809 to 2d1829f Compare November 21, 2024 15:20
@systemcrash systemcrash marked this pull request as draft November 21, 2024 16:52
@jdd272 jdd272 changed the title rework openvpn.js definition to support VPN client/server (multi-users) luci-app-statistics: rework openvpn.js definition to support VPN client/server (multi-users) Nov 22, 2024
@systemcrash
Copy link
Contributor

Any updates here? @jdd272

@jdd272
Copy link
Author

jdd272 commented Dec 12, 2024

Yes, I believe it works as expected; tested on 2 ramips devices - one on SNAPSHOT and the other on 23.05.5; See screenshot below

luci_statistics_ovpn

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

Successfully merging this pull request may close these issues.

2 participants