Regarding this issue, I looked into this and currently, when a user creates a device/client connection through the portal, the device is registered under the username of the creator and is not visible to other users (screenshot below).
[image: 1737439619075-557168ac-6517-4c0b-a315-90beac059ad4-image.png]
After reviewing the app’s code, this appears to be the current functionality, as seen in the following code snippet:
https://git.cloudron.io/apps/openvpn-app/-/blob/master/src/openvpn.js?ref_type=heads#L133
Would it be possible for the Cloudron team to modify this functionality so that the portal returns a list of all clients created under the current OpenVPN app instead?
To make this request clearer, I have outlined a feature request below:
Feature Request: Display All Device Keys in OpenVPN portal
Summary
As a user, I would like to display all device keys created by any Cloudron user, excluding specific keys (ca.key and cloudron.key) , so that I can view all devices associated with the app and verify their connection status.
Description
Currently, the application only lists .key files in the private directory associated with the logged-in user.
To enhance usability, we propose displaying all device keys created under the OpenVPN app.
Acceptance Criteria
The application should filter out ca.key and cloudron.key from the list of .key files.
The application should correctly extract and display the username and device name from the remaining .key files and display that in the portal.
Implementation Details
Filter Key Files:
Modify the code to filter out ca.key and cloudron.key from the list of .key files.
https://git.cloudron.io/apps/openvpn-app/-/blob/master/src/openvpn.js?ref_type=heads#L133
Extract Username and Device Name:
Update the code to correctly extract the username and device name from the remaining .key files.
If you require to maintain the current functionality, you could make this feature configurable in the settings for the OpenVPN app.
I have attached a snapshot of the code change that would be required.
[image: 1737439691287-92c50171-b8c4-4bbf-9598-9bd522ddb32c-image-resized.png]