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. Feature Requests
  3. Cloudflared as proxy for home hosting

Cloudflared as proxy for home hosting

Scheduled Pinned Locked Moved Feature Requests
cloudflarereverseproxyvpnhomeserver
8 Posts 5 Posters 2.5k Views 5 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.
  • JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    wrote on last edited by
    #1

    I saw few post about cloudflared but didn't see anybody asking it as a request.

    As technically Cloudflared act as a reverse proxy and VPN it help to goat at home or on the road by bypassing firewall and ISP limitations.

    One great how to and explanation here:

    And from what I understood, you could make a single sidekick for every app without the need of a reverse proxy and valid SSL
    https://github.com/linuxserver/docker-mods/tree/universal-cloudflared

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

      I think this is a good idea. For a short time, I too was stuck in a situation where I did not have a public IP at home. I worked around it by setting up a VPN tunnel by hand (was a bit of work!).

      L necrevistonnezrN 2 Replies Last reply
      1
      • girishG girish

        I think this is a good idea. For a short time, I too was stuck in a situation where I did not have a public IP at home. I worked around it by setting up a VPN tunnel by hand (was a bit of work!).

        L Offline
        L Offline
        LoudLemur
        wrote on last edited by
        #3

        Would it be possible to do this using a service other than Cloudflare, e.g. https://bunny.net ?

        girishG 1 Reply Last reply
        0
        • L LoudLemur

          Would it be possible to do this using a service other than Cloudflare, e.g. https://bunny.net ?

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

          @LoudLemur I think not. bunny.net is like a CDN (which cloudflare also provides). Here, we talk about cloudflared, which is like a VPN tunnel but with proprietary sauce from cloudflare. I could be wrong, I have not used cloudflared .

          I tried to find some alternative to cloudflared but couldn't find any! Looks like an untapped market!

          L 1 Reply Last reply
          0
          • girishG girish

            @LoudLemur I think not. bunny.net is like a CDN (which cloudflare also provides). Here, we talk about cloudflared, which is like a VPN tunnel but with proprietary sauce from cloudflare. I could be wrong, I have not used cloudflared .

            I tried to find some alternative to cloudflared but couldn't find any! Looks like an untapped market!

            L Offline
            L Offline
            LoudLemur
            wrote on last edited by LoudLemur
            #5

            @girish

            Here is what the AI is telling me. I will paste links in a bit:

            If you're looking for alternatives to Cloudflare's cloudflared service, here are some options to consider:

            ngrok
            https://ngrok.com/
            Serveo
            https://serveo.com/en
            Inlets
            https://inlets.dev/
            Pagekite
            https://pagekite.net/wiki/OpenSource/
            ForwardHQ
            https://fuzzysecurity.com/scripts/9.html
            localtunnel
            https://theboroer.github.io/localtunnel-www/
            Teleconsole
            https://github.com/gravitational/teleconsole
            Sish (has a Docker compose)
            https://github.com/antoniomika/sish
            PLEX
            https://docs.swizzin.net/applications/plex-tunnel/

            L 1 Reply Last reply
            0
            • L LoudLemur

              @girish

              Here is what the AI is telling me. I will paste links in a bit:

              If you're looking for alternatives to Cloudflare's cloudflared service, here are some options to consider:

              ngrok
              https://ngrok.com/
              Serveo
              https://serveo.com/en
              Inlets
              https://inlets.dev/
              Pagekite
              https://pagekite.net/wiki/OpenSource/
              ForwardHQ
              https://fuzzysecurity.com/scripts/9.html
              localtunnel
              https://theboroer.github.io/localtunnel-www/
              Teleconsole
              https://github.com/gravitational/teleconsole
              Sish (has a Docker compose)
              https://github.com/antoniomika/sish
              PLEX
              https://docs.swizzin.net/applications/plex-tunnel/

              L Offline
              L Offline
              LoudLemur
              wrote on last edited by LoudLemur
              #6

              @LoudLemur

              ngrok is proprietary though has some gratis options. I looked for some Free alternatives and found these. Both have a Docker:

              Rathole
              https://github.com/rapiz1/rathole
              Zrok
              https://zrok.io/

              1 Reply Last reply
              0
              • girishG girish

                I think this is a good idea. For a short time, I too was stuck in a situation where I did not have a public IP at home. I worked around it by setting up a VPN tunnel by hand (was a bit of work!).

                necrevistonnezrN Offline
                necrevistonnezrN Offline
                necrevistonnezr
                wrote on last edited by
                #7

                @girish said in Cloudflared as proxy for home hosting:

                I think this is a good idea. For a short time, I too was stuck in a situation where I did not have a public IP at home. I worked around it by setting up a VPN tunnel by hand (was a bit of work!).

                Would the email server still work „behind“ such a VPN?

                1 Reply Last reply
                0
                • JOduMonTJ JOduMonT

                  I saw few post about cloudflared but didn't see anybody asking it as a request.

                  As technically Cloudflared act as a reverse proxy and VPN it help to goat at home or on the road by bypassing firewall and ISP limitations.

                  One great how to and explanation here:

                  And from what I understood, you could make a single sidekick for every app without the need of a reverse proxy and valid SSL
                  https://github.com/linuxserver/docker-mods/tree/universal-cloudflared

                  arshsahzadA Offline
                  arshsahzadA Offline
                  arshsahzad
                  wrote on last edited by arshsahzad
                  #8

                  Hi @JOduMonT,

                  I ran Cloudron with a combination of Tailscale & Cloudflared for two weeks without a public IP at my home setup. So far, everything was working well and I didn't encounter any significant issues. Below is the process that I followed:

                  1# I had two servers - one for Cloudron and the second with docker and docker-compose. Tailscale was installed and configured with Tailscale IP on both servers. The automatic domain configured was disabled in Cloudron and was set manually.

                  2# I ran the docker-compose.yml file on the second server using the following:

                  version: '3.8'
                  services:
                    tunnel:
                      image: 'ghcr.io/shmick/docker-cloudflared'
                      container_name: tunnel
                      hostname: tunnel
                      restart: unless-stopped
                      user: 1000:1000
                      env_file:
                       - $PWD/tunnel.env
                      volumes:
                        - /etc/timezone:/etc/timezone:ro
                      command: tunnel run
                      network_mode: host
                  

                  TUNNEL_TOKEN={TUNNEL-TOKEN}
                  

                  3# I set up and configured the domain in the Cloudflared UI, and used HTTPS for the Cloudron Tailscale IP with No TLS Verify enabled.

                  1 Reply Last reply
                  3
                  • girishG girish referenced this topic on
                  • bmannB bmann referenced 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