Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. VPN
  3. Added superadmin but he can not see clients I create (and vice versa) in OpenVPN

Added superadmin but he can not see clients I create (and vice versa) in OpenVPN

Scheduled Pinned Locked Moved VPN
3 Posts 3 Posters 324 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Barry5867
    wrote on last edited by
    #1

    I added a super admin Cloudron and when using OpenVPN Server and when either of us create a new client the other can not see it when logged in. I even had him log in to my account and he can still only see the accounts he has created.

    1 Reply Last reply
    1
    • nebulonN nebulon moved this topic from Support on
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by nebulon
      #2

      Currently the OpenVPN interface we have built will only show connections per-user. Also note that the superadmin status is not automatically transferred from Cloudron to the apps as such.

      Maybe this could be a feature request to the openvpn app for us. But it is currently simply not implemented.

      "I even had him log in to my account and he can still only see the accounts he has created." that I am not sure about which accounts you are expecting to see to be honest.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        raksahb1248
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search