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
14 Posts 6 Posters 4.9k 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 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 Offline
                  jamesJ Offline
                  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.

                  nottheendN 1 Reply Last reply
                  2
                  • jamesJ james

                    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.

                    nottheendN Offline
                    nottheendN Offline
                    nottheend
                    wrote last edited by nottheend
                    #13

                    @james said:

                    demand is not enough for this feature to be put up higher in the prioritisation queue

                    Thanks.

                    I am still interested in the technical part:
                    Would it be possible to route all the traffic of cloudron through a VPN? Probably not, because a server need to be publicly propagated via DNS (IP resolution), right?

                    So just to understand it right: Is the solution for this feature request to 1) "route all traffic to the cloudron VPN endpoint via a third party VPN?
                    Technically the "endpoint" would still "Just arrive within the network of the cloudron server", is it?

                    (I may still have some gaps in understanding the whole VPN/Networking topic)

                    jamesJ 1 Reply Last reply
                    0
                    • nottheendN nottheend

                      @james said:

                      demand is not enough for this feature to be put up higher in the prioritisation queue

                      Thanks.

                      I am still interested in the technical part:
                      Would it be possible to route all the traffic of cloudron through a VPN? Probably not, because a server need to be publicly propagated via DNS (IP resolution), right?

                      So just to understand it right: Is the solution for this feature request to 1) "route all traffic to the cloudron VPN endpoint via a third party VPN?
                      Technically the "endpoint" would still "Just arrive within the network of the cloudron server", is it?

                      (I may still have some gaps in understanding the whole VPN/Networking topic)

                      jamesJ Offline
                      jamesJ Offline
                      james
                      Staff
                      wrote last edited by
                      #14

                      Hello @nottheend

                      @nottheend said:

                      1. "route all traffic to the cloudron VPN endpoint via a third party VPN?

                      The idea would be to only allow access to configured apps through the Cloudron VPN app or a custom VPN you can configure.

                      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