-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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-openvpn: Add a list of currently connected clients #3926
Comments
Can you provide an example of the status file? |
Sure thing @jow- , I am available for testing if you wish as well. I tried to dig a bit into it, but page layout and composition is a bit complex, and I would need to get familiar with the luci architecture first. In any case, attached is the shell output from the router illustrating the status file. First "cat" is with no clients connected, second one is after a PSK client connects. It appears to me that it is a comma delimited info file, with line breaks. Note that default location of the status file can be overridden when starting the OpenVPN server. By default, OpenVPN updates the status file every 1 minute. This is also configurable though.
I am also attaching a text file with the same info. Let me know how I can help. |
Hi All, Would be awesome if we could enhance the luci openvpn connected users! Things to consider:
If i can help let me know. |
Hi All, Would be nice to have this option. Let me know how i can help! |
@jow- What is donation policy within openwrt? Is it acceptable from a policy point of view to donate for a specific item/feature request like this? Or should i donate to the openwrt project in general? |
I found this link: |
I've made a script and status page for this based on contributions from different sources on the openwrt forum and uploaded it to github. |
It would be nice to have a list of currently connected clients for each of the OpenVPN servers. Currently one can pull this from a status file of the given server, but it is a bit cumbersome. Maybe this listing can be added to an existing openvpn page, or a separate status page under Status drop down menu.
If a separate status page is created, maybe status of other openvpn instances could be displayed as well, like client connection info?
Just an idea from someone coming to OpenWRT from DD-WRT.
The text was updated successfully, but these errors were encountered: