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. App Wishlist
  3. Wireguard VPN

Wireguard VPN

Scheduled Pinned Locked Moved Solved App Wishlist
wireguard vpncloudronsecurity
108 Posts 29 Posters 36.1k Views 39 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.
  • RoundHouse1924R RoundHouse1924

    @timka
    At this rate, you are looking at some time never!

    Wireguard on Cloudron is like some pipe dream, never to materialise!

    I rest my case!

    (Yes, I am peed off!)

    D Offline
    D Offline
    dylightful
    wrote on last edited by
    #94

    @RoundHouse1924 Hear hear!

    The shear support behind WireGuard and the lack of updates as to its ETA is extremely disappointing.

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

      Most of the wireguard ui projects other than wg-easy have died by now and wg-easy does not have LDAP/OIDC support. So we wanted to instead integrate make a new wireguard package which is similar to our existing openvpn app. Unfortunately, this takes time and there is always something more important coming up (like Cloudron 8, package updates, OIDC migration and so on).

      1 Reply Last reply
      6
      • P Offline
        P Offline
        playsia
        wrote on last edited by
        #96

        I've been waiting for this for years (yes, actually years) and I check in every month or so to see if there's any progress only to be disappointed... Could this please be bumped up the priority list a bit?

        1 Reply Last reply
        5
        • M Offline
          M Offline
          malvim
          wrote on last edited by
          #97

          @girish I appreciate all your hard work, understand and agree with the priorities. That said, I'd very much like to have an app similar to the OpenVPN one using wireguard. Is that anything one can do to help get it done? Maybe see the OpenVPN code and try to whip up something similar using wg?

          girishG 1 Reply Last reply
          2
          • M malvim

            @girish I appreciate all your hard work, understand and agree with the priorities. That said, I'd very much like to have an app similar to the OpenVPN one using wireguard. Is that anything one can do to help get it done? Maybe see the OpenVPN code and try to whip up something similar using wg?

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

            @malvim thanks for the offer to help. I think for a start, we have to start modifying https://git.cloudron.io/cloudron/openvpn-app to also support wireguard. MRs are welcome.

            micmcM M 2 Replies Last reply
            3
            • girishG girish

              @malvim thanks for the offer to help. I think for a start, we have to start modifying https://git.cloudron.io/cloudron/openvpn-app to also support wireguard. MRs are welcome.

              micmcM Offline
              micmcM Offline
              micmc
              wrote on last edited by
              #99

              @girish said in Wireguard VPN:

              @malvim thanks for the offer to help. I think for a start, we have to start modifying https://git.cloudron.io/cloudron/openvpn-app to also support wireguard. MRs are welcome.

              I think this is an absolutely great idea! 😁

              Ignorance is not an excuse anymore!
              https://AutomateKit.com

              1 Reply Last reply
              3
              • girishG girish

                @malvim thanks for the offer to help. I think for a start, we have to start modifying https://git.cloudron.io/cloudron/openvpn-app to also support wireguard. MRs are welcome.

                M Offline
                M Offline
                malvim
                wrote on last edited by
                #100

                @girish That sounds good, I'll take a look at the code and see if I'm confident enough to take a crack at it. So you want the same vpn app to support both OpenVPN and wireguard, is that correct?

                I understand there's a key manager for OpenVPN, which I think doesn't really make sense as-is for wireguard, right? For wireguard we just generate a private key for the host and generally just have to manage peers (with their public keys, allowed-ips and whatnot)...

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  malvim
                  wrote on last edited by
                  #101

                  Another thing I just thought is that it'd be cool to be able to have other apps be VPN clients as well...

                  So docker-compose has the "service" network mode, which I think is like the "host" network mode, but instead of the host it uses another container's network. Not sure how we'd implement it, and maybe this would be easier if we had a VPN add-on instead of an app, not sure.

                  The use case is one I'm going through right now: I want to use prometheus and grafana to monitor something that i'd like only be accessed through a wireguard VPN. So at the moment (for testing purposes), I'm keeping the things I want to monitor open on the internet and using prometheus to collect metrics, but if we want to go through with it in production, I'll probably have to host at least prometheus by myself inside our VPN.

                  what do you guys think?

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

                    Alright, I managed to get initial wireguard implementation working. It's in a branch, still some work to be done but atleast it's working. I am still figuring out routing between the networks but you can connect separately already.

                    The idea is to have both OpenVPN and Wireguard in the existing OpenVPN app. Maybe we will rename this app to be just VPN. Hopefully, we can get this out the coming week.

                    D robiR 2 Replies Last reply
                    18
                    • P Offline
                      P Offline
                      playsia
                      wrote on last edited by
                      #103

                      Fantastic news!

                      1 Reply Last reply
                      1
                      • girishG girish

                        Alright, I managed to get initial wireguard implementation working. It's in a branch, still some work to be done but atleast it's working. I am still figuring out routing between the networks but you can connect separately already.

                        The idea is to have both OpenVPN and Wireguard in the existing OpenVPN app. Maybe we will rename this app to be just VPN. Hopefully, we can get this out the coming week.

                        D Offline
                        D Offline
                        dylightful
                        wrote on last edited by
                        #104

                        @girish Maybe the greatest Christmas present one could ask for!

                        1 Reply Last reply
                        2
                        • girishG girish

                          Alright, I managed to get initial wireguard implementation working. It's in a branch, still some work to be done but atleast it's working. I am still figuring out routing between the networks but you can connect separately already.

                          The idea is to have both OpenVPN and Wireguard in the existing OpenVPN app. Maybe we will rename this app to be just VPN. Hopefully, we can get this out the coming week.

                          robiR Offline
                          robiR Offline
                          robi
                          wrote on last edited by
                          #105

                          @girish While you're at it, please consider adding support for MASQUE protocol - https://news.ycombinator.com/item?id=36431841

                          Conscious tech

                          girishG 1 Reply Last reply
                          2
                          • robiR robi

                            @girish While you're at it, please consider adding support for MASQUE protocol - https://news.ycombinator.com/item?id=36431841

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

                            @robi thanks for the tip, have to read further. Also found https://guardianproject.info/2020/02/25/masque-review/

                            robiR 1 Reply Last reply
                            2
                            • girishG girish

                              @robi thanks for the tip, have to read further. Also found https://guardianproject.info/2020/02/25/masque-review/

                              robiR Offline
                              robiR Offline
                              robi
                              wrote on last edited by
                              #107

                              @girish You're welcome!

                              Cloudflare blog also has entries in how they implemented it worldwide including their WARP VPNs.

                              Conscious tech

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

                                This is finally packaged.

                                1 Reply Last reply
                                10
                                • girishG girish marked this topic as a question on
                                • girishG girish has marked this topic as solved on
                                • girishG girish locked this topic on
                                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