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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. VPN
  3. Using OpenVPN on Cloudron as a client for other VPN services?

Using OpenVPN on Cloudron as a client for other VPN services?

Scheduled Pinned Locked Moved VPN
12 Posts 6 Posters 4.6k Views 6 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.
  • girishG girish

    @scooke yes, this feature is exactly what was planned for 7.3 but didn't make it. It got moved to next release as a result.

    The use case is for things like an rss reader which wants to hide the public IP when fetching the RSS feed.

    scookeS Offline
    scookeS Offline
    scooke
    wrote on last edited by
    #3

    @girish Exactly! Once implemented, will it be Cloudron-wide, or will we need config wizardry to make certain apps use the VPN connection?

    A life lived in fear is a life half-lived

    girishG 1 Reply Last reply
    0
    • scookeS scooke

      @girish Exactly! Once implemented, will it be Cloudron-wide, or will we need config wizardry to make certain apps use the VPN connection?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #4

      @scooke Yes, you can add a VPN connection as Cloudron wide. The apps then get a Network tab where you can go in and select the VPN connection.

      The UI is simple but the implementation was quite complex since it involved some docker networking magic.

      scookeS 1 Reply Last reply
      4
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #5

        https://jordanelver.co.uk/blog/2019/06/03/routing-docker-traffic-through-a-vpn-connection/ is the gist of it.

        1 Reply Last reply
        1
        • girishG girish

          @scooke Yes, you can add a VPN connection as Cloudron wide. The apps then get a Network tab where you can go in and select the VPN connection.

          The UI is simple but the implementation was quite complex since it involved some docker networking magic.

          scookeS Offline
          scookeS Offline
          scooke
          wrote on last edited by
          #6

          @girish Yes, I can appreciate the complexity. I'm looking forward to it!

          A life lived in fear is a life half-lived

          1 Reply Last reply
          1
          • K Offline
            K Offline
            krumel
            wrote on last edited by
            #7

            The last post in regards of this is from 2022, is there any update on this functionality? It would be very interesting if one could use Cloudron to connect to a VPN server - e.g. to use Guacamole as a support tool.

            1 Reply Last reply
            2
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #8

              @krumel not implemented yet.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                krumel
                wrote on last edited by
                #9

                Would be quite an interesting business case for smaller corp. users tbh - KASM can do something similar with their sidecar VPN service (or docker desktop with integrated VPN as it's now available with the development version). This enables users to use the Kasm frontend (which is basically Guacamole), connect to docker desktop instance and then use a VPN to the desktop to the Final destination (e.g) in a jumpserver setting.
                The downside is the ridiculous pricing of Kasm workspaces for commercial customers - 600-1200$ for a rarely used tool is unfeasible for most smaller customers.

                Cloudron could really be useful as a "rougher but still working solution":
                While we have no Docker desktop on Linux, these could easily be hosted elsewhere and are provided by various projects.
                BUT people should not keep these desktops publicly available via VNC/RDP - That is where Guacamole cones into play.
                One option would be to use Guacamole to point to an internal network "behind" a Cloudron instance in a DMZ. But that is currently not possible as Cloudron basically only supports one network,right?
                (See my other topic about this from 2022)

                The other, imho much easier to achieve, option would be to make Cloudron internal network connection to OpenVPN instances (Portainer is an example of a project than has done similar things) on a container to container base - e.g. letting Guacamole connect to a WG/OpenVPN to then connect to the required external resources.
                Even without providing a actual Docker Desktop it would still make it much much easier and safer to provide properly separated infrastructure.
                (Besides, in my jumpserver scrnario of course Guacamole alone can act as an direct Jump to the target infrastructure then).

                Tbh,I currently don't see a way for people to safely use Guacamole on Cloudron in a public environment safely at all.

                Offering something in that regard would be an compelling business case, even nore so as Cloudron of course offers a massive "SSO" solution for all the other business needs as well.

                @girish We would actually ve willing to sponsor that feature at least partially-Feel free to contact me.

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  ganyuss
                  wrote on last edited by
                  #10

                  Hello people!
                  I have been searching far and wide for a solution to this exact problem, and I couldn't find anything but this 4 years old discussion about a prototype (https://forum.cloudron.io/topic/3667/openvpn-client-with-poll). Any change you would have an ETA for this feature, or a workaround you could recommend?

                  1 Reply Last reply
                  1
                  • nottheendN Offline
                    nottheendN Offline
                    nottheend
                    wrote last edited by
                    #11

                    Is there a complexity or a legal issue to not continuing the implementation?

                    jamesJ 1 Reply Last reply
                    0
                    • nottheendN nottheend

                      Is there a complexity or a legal issue to not continuing the implementation?

                      jamesJ Online
                      jamesJ Online
                      james
                      Staff
                      wrote last edited by
                      #12

                      Hello @nottheend

                      @nottheend said:

                      Is there a complexity or a legal issue to not continuing the implementation?

                      Simply put, demand is not enough for this feature to be put up higher in the prioritisation queue and other tasks and feature requests are higher in demand.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      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