this post was submitted on 17 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

511 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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?

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago

You don't need any open ports to use a cloudflared tunnel

[–] [email protected] 1 points 1 year ago

Cloudflare Tunnels are absolutely the way to go.

[–] [email protected] 1 points 1 year ago (1 children)

There are many similar services, depending on your needs.

...

Just to name two famous ones.

Here is a full list https://github.com/anderspitman/awesome-tunneling

[–] [email protected] 1 points 1 year ago

I was going to share the same link but you beat me :D

I work on one mentioned, zrok.io which is both open source and has a free SaaS.

[–] [email protected] 1 points 1 year ago

basedflare.com is opensource.

[–] [email protected] 0 points 1 year ago (1 children)

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’

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

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 ;-)

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 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/