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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. NetBird - WireGuard based VPN

NetBird - WireGuard based VPN

Scheduled Pinned Locked Moved App Wishlist
53 Posts 14 Posters 13.8k Views 19 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.
  • A
    A
    Adhok
    wrote on last edited by
    #10

    @DanTheMan thanks for your amazing post.

    I do not understand a thing. Is there a way to use Netbird on a cloudron app ?

    DanTheManD 1 Reply Last reply
    0
    • A Adhok

      @DanTheMan thanks for your amazing post.

      I do not understand a thing. Is there a way to use Netbird on a cloudron app ?

      DanTheManD
      DanTheManD
      DanTheMan
      wrote on last edited by DanTheMan
      #11

      @Adhok Good question actually, but i haven't tried that one. Since i only use Netbird client on Cloudron to run backups from Cloudron to my homelab.

      1 Reply Last reply
      0
      • S
        S
        stevespaw
        wrote on last edited by
        #12

        Coming from Zerotier _ I any really digging Netbird - Super easy setup and now have "networks" which we had on Zerotier. Running on their host now, but would love to have our own server on Cloudron. This is much more powerful than the basic wireguard in the VPN app. Please?

        marcusquinnM 1 Reply Last reply
        7
        • S stevespaw

          Coming from Zerotier _ I any really digging Netbird - Super easy setup and now have "networks" which we had on Zerotier. Running on their host now, but would love to have our own server on Cloudron. This is much more powerful than the basic wireguard in the VPN app. Please?

          marcusquinnM
          marcusquinnM
          marcusquinn
          CA Maintainer Super Fan
          wrote on last edited by
          #13

          @stevespaw Agreed!

          Web Design & Development: https://www.evergreen.je
          Technology & Apps: https://www.marcusquinn.com

          1 Reply Last reply
          0
          • visampV
            visampV
            visamp
            wrote on last edited by
            #14

            I'd love to see this on cloudron to connect TrueNAS as a back up.

            1 Reply Last reply
            2
            • S
              S
              stevespaw
              wrote on last edited by
              #15

              OK now is the time - support for multiple OIDC-compatible identity providers simultaneously.
              @girish and team - This would be great!
              https://netbird.io/knowledge-hub/local-users-simplified-idp
              Built-in user management - Create users directly from the Dashboard using the embedded Dex server—no external IdP required. Secure by default with bcrypt-hashed passwords and AES-256-GCM encryption
              Simplified deployment - Reduced from 7+ containers down to just 5. No separate database for the IdP, no extra containers to maintain. The quickstart script handles everything automatically—from container deployment to reverse proxy configuration
              Interactive setup wizard - When you first access the Dashboard, a setup wizard guides you through creating your admin account. That's it—you're done
              Easy external IdP integration - Connect multiple SSO providers simultaneously (Google, Microsoft, Okta, Keycloak, etc.) directly from the Dashboard. No config files to edit, no service restarts. Optional JWT group sync automatically provisions groups from your IdP

              1 Reply Last reply
              3
              • marcusquinnM
                marcusquinnM
                marcusquinn
                CA Maintainer Super Fan
                wrote on last edited by marcusquinn
                #16

                I posted this in 2022:

                • https://forum.cloudron.io/topic/7571/netbird-foss-noconf-mesh-vpn-using-wireguard-alternative-to-zerotier-tailscale-omniedge-netmaker-etc?_=1767395599838

                along with other mesh vpn threads worth reading:

                • https://forum.cloudron.io/topic/4793/netmaker-manage-wireguard-networks
                • https://forum.cloudron.io/topic/7567/firezone-foss-noconf-mesh-vpn-using-wireguard-alternative-to-zerotier-tailscale-omniedge-netmaker-etc
                • https://forum.cloudron.io/topic/7560/omniedge-decentralised-noconf-mesh-vpn-using-wireguard-alternative-to-zerotier-tailscale-etc
                • https://forum.cloudron.io/topic/7563/tailscale-decentralised-noconf-mesh-vpn-using-wireguard-alternative-to-zerotier-etc

                Web Design & Development: https://www.evergreen.je
                Technology & Apps: https://www.marcusquinn.com

                1 Reply Last reply
                1
                • S stevespaw referenced this topic on
                • timconsidineT
                  timconsidineT
                  timconsidine
                  App Dev CA Maintainer Super Fan
                  wrote on last edited by timconsidine
                  #17

                  I also like Netbird, I have a server running on a non-Cloudron VPS, connecting devices to each other when needed, and making an in-house box available to selected people in external organisations.

                  "Netbird on Cloudron" can mean :

                  • use an app on Cloudron to act as 'server'
                  • install the Netbird client at Cloudron VPS command line (not an app - outside of Cloudron platform), so Cloudron box is on the Netbird network, but no Cloudron app needed. I'd tend towards this if it viable, but my network routing knowledge is poor.

                  Are peeps here thinking about it a different way ?

                  Indie app dev, scratching my itches : communityapps.appx.uk, portfolio at myca.appx.uk

                  marcusquinnM 1 Reply Last reply
                  2
                  • timconsidineT timconsidine

                    I also like Netbird, I have a server running on a non-Cloudron VPS, connecting devices to each other when needed, and making an in-house box available to selected people in external organisations.

                    "Netbird on Cloudron" can mean :

                    • use an app on Cloudron to act as 'server'
                    • install the Netbird client at Cloudron VPS command line (not an app - outside of Cloudron platform), so Cloudron box is on the Netbird network, but no Cloudron app needed. I'd tend towards this if it viable, but my network routing knowledge is poor.

                    Are peeps here thinking about it a different way ?

                    marcusquinnM
                    marcusquinnM
                    marcusquinn
                    CA Maintainer Super Fan
                    wrote on last edited by
                    #18

                    @timconsidine did you have any luck with this? I made some updates since you last tried. Happy to add you as a maintainer to the repo if you want.

                    Web Design & Development: https://www.evergreen.je
                    Technology & Apps: https://www.marcusquinn.com

                    timconsidineT andreasduerenA 2 Replies Last reply
                    2
                    • marcusquinnM marcusquinn

                      @timconsidine did you have any luck with this? I made some updates since you last tried. Happy to add you as a maintainer to the repo if you want.

                      timconsidineT
                      timconsidineT
                      timconsidine
                      App Dev CA Maintainer Super Fan
                      wrote on last edited by timconsidine
                      #19

                      @marcusquinn you know what, I'd forgotten that I had started looking at this ! Goldfish ! Might have a look this weekend.

                      Indie app dev, scratching my itches : communityapps.appx.uk, portfolio at myca.appx.uk

                      1 Reply Last reply
                      0
                      • timconsidineT
                        timconsidineT
                        timconsidine
                        App Dev CA Maintainer Super Fan
                        wrote on last edited by timconsidine
                        #20

                        Small update : although fearful of breaking my production Cloudron, I installed the Netbird client on the box (via command line outside the Cloudron environment - sorry Cloudron team).
                        Did netbird up -m <separate VPS running management server> -k <netbird key>.
                        Worked flawlessly.
                        On management server, added my Cooudron netbird peer into my private network.
                        Now apps on Cloudron can reach my laptop, and vice versa, via private network.

                        Specifically a Cloudron app can use Ollama on my laptop running a private model to benefit from Mac Silicon "nearly-gpu-like" performance.
                        My Cloudron Ollama can't properly run the model because it is CPU only.
                        Cloudron Ollama running local model on CPU runs at ~6 tokens, or lower.
                        Mac Ollama private local model achieves ~40 tokens/second.
                        Not as good as on-demand GPU instance at 80-150 t/s or running an ollama:cloud model also at 80-150 t/s (model dependent).
                        But 40 t/s is not too shabby and and is viable performance without the cost of an always-on or on-demand GPU.

                        So getting Netbird management server on Cloudron would definitely be a good thing. Shall try to pick that up shortly.

                        Indie app dev, scratching my itches : communityapps.appx.uk, portfolio at myca.appx.uk

                        1 Reply Last reply
                        4
                        • S
                          S
                          stevespaw
                          wrote on last edited by
                          #21

                          I have been running Netbird for some time now in a non-Cloudron. It is now very easy and awesome. Cloudron would bring a unified user management experience, which would be nice. If we had Rustdesk and ManageEngine, (Which I also have to run in a separate Docker system) I could run the whole IT operation with Cloudron... 🙂

                          marcusquinnM 1 Reply Last reply
                          5
                          • marcusquinnM marcusquinn

                            @timconsidine did you have any luck with this? I made some updates since you last tried. Happy to add you as a maintainer to the repo if you want.

                            andreasduerenA
                            andreasduerenA
                            andreasdueren
                            wrote on last edited by
                            #22

                            @marcusquinn Is this package working, generally speaking? Tried to install it to test drive but it's conflicting with the internal STUN server. Is there a particular reason not to let the package use the Cloudron service?

                            marcusquinnM 1 Reply Last reply
                            1
                            • andreasduerenA andreasdueren

                              @marcusquinn Is this package working, generally speaking? Tried to install it to test drive but it's conflicting with the internal STUN server. Is there a particular reason not to let the package use the Cloudron service?

                              marcusquinnM
                              marcusquinnM
                              marcusquinn
                              CA Maintainer Super Fan
                              wrote on last edited by marcusquinn
                              #23

                              @andreasdueren Hey, i've been connected since the last release with no downtime, so seems to be.

                              AI can answer the rest, as it knows its own work well enough, now:

                              Yes, it works. Native client registration, TLS and peer traffic are all tested on a live server. The conflict happens because the package's STUN port defaults to UDP 3478, which Cloudron's own TURN service already uses. The port can be changed: pick a different free UDP port (e.g. 3479) on the install screen and it will work.

                              The package doesn't use Cloudron's TURN addon because the credentials don't match up. Cloudron TURN only gives out short-lived logins generated from a shared secret. NetBird can only be given a fixed username and password for an external STUN/TURN server, so clients would fail to log in to it. The NetBird server already includes its own relay and STUN, so the package uses those. That's why it needs its own UDP port.

                              Where this comes from in the repo:

                              • CloudronManifest.json:46-49: STUN_PORT defaults to 3478.
                              • docs/PACKAGING-NOTES.md:50 and README.md:338-340: why the turn addon isn't used.

                              I didn't check the claim that Cloudron's TURN service listens on 3478 against Cloudron's docs. I inferred it from the conflict Andreas reported.

                              Web Design & Development: https://www.evergreen.je
                              Technology & Apps: https://www.marcusquinn.com

                              andreasduerenA 1 Reply Last reply
                              0
                              • marcusquinnM
                                marcusquinnM
                                marcusquinn
                                CA Maintainer Super Fan
                                wrote on last edited by
                                #24

                                Link to the post commentating on the app packaging, for anyone coming to this post and not knowing there's more Netbird info here:

                                • https://forum.cloudron.io/topic/7571/netbird-foss-noconf-mesh-vpn-using-wireguard-alternative-to-zerotier-tailscale-omniedge-netmaker-etc

                                Web Design & Development: https://www.evergreen.je
                                Technology & Apps: https://www.marcusquinn.com

                                1 Reply Last reply
                                1
                                • marcusquinnM marcusquinn

                                  @andreasdueren Hey, i've been connected since the last release with no downtime, so seems to be.

                                  AI can answer the rest, as it knows its own work well enough, now:

                                  Yes, it works. Native client registration, TLS and peer traffic are all tested on a live server. The conflict happens because the package's STUN port defaults to UDP 3478, which Cloudron's own TURN service already uses. The port can be changed: pick a different free UDP port (e.g. 3479) on the install screen and it will work.

                                  The package doesn't use Cloudron's TURN addon because the credentials don't match up. Cloudron TURN only gives out short-lived logins generated from a shared secret. NetBird can only be given a fixed username and password for an external STUN/TURN server, so clients would fail to log in to it. The NetBird server already includes its own relay and STUN, so the package uses those. That's why it needs its own UDP port.

                                  Where this comes from in the repo:

                                  • CloudronManifest.json:46-49: STUN_PORT defaults to 3478.
                                  • docs/PACKAGING-NOTES.md:50 and README.md:338-340: why the turn addon isn't used.

                                  I didn't check the claim that Cloudron's TURN service listens on 3478 against Cloudron's docs. I inferred it from the conflict Andreas reported.

                                  andreasduerenA
                                  andreasduerenA
                                  andreasdueren
                                  wrote on last edited by
                                  #25

                                  @marcusquinn said:

                                  The package doesn't use Cloudron's TURN addon because the credentials don't match up. Cloudron TURN only gives out short-lived logins generated from a shared secret. NetBird can only be given a fixed username and password for an external STUN/TURN server, so clients would fail to log in to it. The NetBird server already includes its own relay and STUN, so the package uses those. That's why it needs its own UDP port.

                                  Thanks for checking and explaining. I think there is a distinction between STUN and TURN here: Cloudron provides a persistent shared secret from which temporary TURN credentials are generated, but ordinary STUN discovery doesn’t require those credentials.

                                  Since NetBird’s combined server supports external STUN servers, would it be worth testing Cloudron’s existing STUN endpoint while keeping NetBird’s own relay? That might avoid needing an additional UDP port and keep the package slimmer.

                                  If that doesn't work or you prefer a contained package like this, the bundled STUN service is a reasonable option. In that case, could its default port be changed from 3478 to another available port, such as 3479, to avoid the conflict with Cloudron?

                                  marcusquinnM 1 Reply Last reply
                                  1
                                  • andreasduerenA andreasdueren

                                    @marcusquinn said:

                                    The package doesn't use Cloudron's TURN addon because the credentials don't match up. Cloudron TURN only gives out short-lived logins generated from a shared secret. NetBird can only be given a fixed username and password for an external STUN/TURN server, so clients would fail to log in to it. The NetBird server already includes its own relay and STUN, so the package uses those. That's why it needs its own UDP port.

                                    Thanks for checking and explaining. I think there is a distinction between STUN and TURN here: Cloudron provides a persistent shared secret from which temporary TURN credentials are generated, but ordinary STUN discovery doesn’t require those credentials.

                                    Since NetBird’s combined server supports external STUN servers, would it be worth testing Cloudron’s existing STUN endpoint while keeping NetBird’s own relay? That might avoid needing an additional UDP port and keep the package slimmer.

                                    If that doesn't work or you prefer a contained package like this, the bundled STUN service is a reasonable option. In that case, could its default port be changed from 3478 to another available port, such as 3479, to avoid the conflict with Cloudron?

                                    marcusquinnM
                                    marcusquinnM
                                    marcusquinn
                                    CA Maintainer Super Fan
                                    wrote on last edited by
                                    #26

                                    @andreasdueren You're right, thanks for spotting.

                                    I tested it on a live install: with server.stuns pointing at Cloudron's STUN (CLOUDRON_TURN_SERVER:CLOUDRON_TURN_PORT).

                                    NetBird switches off its own STUN, clients report Cloudron's STUN as available, peers connect, and NetBird's own relay keeps running.

                                    The new release uses Cloudron's STUN by default, so new installs won't need an extra UDP port or clash on 3478.

                                    LMK if it works for you.

                                    Web Design & Development: https://www.evergreen.je
                                    Technology & Apps: https://www.marcusquinn.com

                                    andreasduerenA 1 Reply Last reply
                                    3
                                    • marcusquinnM marcusquinn

                                      @andreasdueren You're right, thanks for spotting.

                                      I tested it on a live install: with server.stuns pointing at Cloudron's STUN (CLOUDRON_TURN_SERVER:CLOUDRON_TURN_PORT).

                                      NetBird switches off its own STUN, clients report Cloudron's STUN as available, peers connect, and NetBird's own relay keeps running.

                                      The new release uses Cloudron's STUN by default, so new installs won't need an extra UDP port or clash on 3478.

                                      LMK if it works for you.

                                      andreasduerenA
                                      andreasduerenA
                                      andreasdueren
                                      wrote on last edited by
                                      #27

                                      @marcusquinn Seems to work, is there a way to set up the package to preconfigured OIDC with Cloudron? Currently it requires manual setup.

                                      marcusquinnM 2 Replies Last reply
                                      2
                                      • andreasduerenA andreasdueren

                                        @marcusquinn Seems to work, is there a way to set up the package to preconfigured OIDC with Cloudron? Currently it requires manual setup.

                                        marcusquinnM
                                        marcusquinnM
                                        marcusquinn
                                        CA Maintainer Super Fan
                                        wrote on last edited by
                                        #28

                                        @andreasdueren investigating...

                                        Web Design & Development: https://www.evergreen.je
                                        Technology & Apps: https://www.marcusquinn.com

                                        1 Reply Last reply
                                        2
                                        • andreasduerenA andreasdueren

                                          @marcusquinn Seems to work, is there a way to set up the package to preconfigured OIDC with Cloudron? Currently it requires manual setup.

                                          marcusquinnM
                                          marcusquinnM
                                          marcusquinn
                                          CA Maintainer Super Fan
                                          wrote on last edited by
                                          #29

                                          @andreasdueren courtesy of AI — opus does all my r&d now):

                                          Glad it works! It isn't fully automatic, by design:

                                          • NetBird keeps external login providers in its database and only accepts new ones through its API from a logged-in owner. The combined server's config.yaml (v0.80.0) has no option to predefine an OIDC provider. Doing it at startup would mean storing an owner API token inside the app, and it could overwrite an existing provider or spread the client secret around.
                                          • If you ticked Cloudron SSO at install, it's about a minute of work: Settings > Identity Providers > Add > Generic OIDC, name it Cloudron, and paste the values from cloudron exec --app <app> -- printenv CLOUDRON_OIDC_ISSUER (then CLOUDRON_OIDC_CLIENT_ID and CLOUDRON_OIDC_CLIENT_SECRET). Keep the built-in email login working as your recovery login.
                                          • To script it, or to add Cloudron login to an install without SSO, scripts/cloudron-sso.py in the repo does it with short-lived tokens; see docs/SSO-SWITCH.md. A login client added that way doesn't follow the app's Cloudron access list, so the script requires NetBird's new-user approval to be switched on.

                                          If NetBird adds login providers to config.yaml, I'll switch the package to that.

                                          And some more improvements from testing in a new release:

                                          The monitoring guide now covers the proxy backend over IPv6 as well as IPv4 (PR #183, merged). This was a docs-only change, so no new package was published and your app stays on 2.4.3.
                                          What changed in docs/MONITORING.md:

                                          • A new IPv6 row for the inverted <closed> check on the proxy backend port.
                                          • A note that Docker publishes app ports over IPv6 too, so on an IPv6 server you need the check for both IPv4 and IPv6.
                                          • The API example now includes the IPv6 native-port and IPv6 backend checks.
                                          • A note that updown rejects a URL that is already registered, so running the example again is safe. I saw this happen when I re-ran my own script.
                                            The docs and package tests passed, and CI passed.
                                            You already have both IPv6 checks running for your server, and both are up.

                                          Web Design & Development: https://www.evergreen.je
                                          Technology & Apps: https://www.marcusquinn.com

                                          andreasduerenA 1 Reply Last reply
                                          2

                                          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