Are any of you selfhosters using Cloudflare?

I want to make a server visible on port 80 and 443 from outside, however port 80 and 443 is currently used for another server.

I know we can reverse proxy but I have a reason why I am not using reverse proxy for this.

I have been told that I can connect to cloudflare like a VPN type of link. But going through their website I don’t find much useful information?

Is this possible or is it just rumors? If possible, what is the product offering to utilize?

  • phein4242@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    For me, selfhosting is about selfhosting. Using 3rd party options hosted by someone else is not selfhosting by its very definition. A reverse proxy works, and you can trivially use that to host a gazillion websites on the same ip+port due to the magic of a ‘virtual host’

    • thisiszeev@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      This move is not about “self hosting”. They are two services that my clients connect to. Where I am now, with the dodgy power, my clients are complaining that they cannot access the servers. I can not afford to store this much data in a datacenter, so this is the next best way.

      • phein4242@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Mja, business decisions are up to you and your clients. This sub is about selfhosting, so you can expect answers that are about, well, selfhosting ;-)

        • thisiszeev@alien.topOPB
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Granted, and all the answers I got in this post have been very valuable to me and I have learned a few things… whether you are hosting for personal or for business. Selfhosting is when you host it yourself rather than get SaaS or paying a sysadmin to do it for you. Either which or, you still learn a lot along the way.

          • phein4242@alien.topB
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Definetely! In your case I would get a vps from somewhere and host from there. Cloudflare is not going to work around your power issues. Some caching CDN might, but that would make the service read-only

            • thisiszeev@alien.topOPB
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              VPS is not an option at the moment, as the amount of storage I need makes it prohibitively expensive. I have a 2TB WD Black drive with all the user files. My clients share very large files with me. Some of the art files alone can go into the 10s of GB for a set.

              My mate has 1000mbps business fibre to his house. He is happy to do a RP for me, as this is the only way I can make this work.

              We doing the server move this weekend. Holding thumbs it all goes well.

              • kon_dev@alien.topB
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                What about VPN? If you don’t care if a third party is involved, as long as the traffic is encrypted, I can recommend using Tailscale. Install the client on the target and your system and just copy files as you would be in the same LAN by using their 100.x.x.x adresses. If you want to be totally independent of other vendors, you can setup wireguard (also used internally by tailscale) and connect your clients.

                If you can’t open ingress ports on any of your sides and you don’t want to use tailscale, you can still spun up a cheap VPS, install wireguard there and connect your clients system and your client both via VPN to this system. Afterwards, you can copy files via the internal wireguard IPs.

                But, if you look for a simple solution, tailscale is my preferred way. You could even use taildrop to transfer files https://tailscale.com/kb/1106/taildrop/