this post was submitted on 27 May 2024
79 points (93.4% liked)
Privacy
31939 readers
601 users here now
A place to discuss privacy and freedom in the digital world.
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
Some Rules
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
Chat rooms
-
[Matrix/Element]Dead
much thanks to @gary_host_laptop for the logo design :)
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It can be pretty secure if you host it behind a cloudflare tunnel. Then you don't have to open any ports to the wild west
Thank you. I've heard so much about CloudFlare tunnels, but don't know how they work. Do I just point it at an IP and port or is it much more complicated than that?
Basically you have to run a mini server (I use a docker container) called a cloudflare endpoint. From there you just enter the IPs and keys that your cloudflare account tells you to in the tunnel creation menu, and it all pretty much connects from there.
Then, on the cloudflare side, you make different subdomains point to local ports. So, for example, for connecting to qbittorrent web client, in the cloudflare menus I can make qbit.domain.example point to localhost:8080. In this case, it means "localhost" relative to the cloudflare access point you've made (which in my case can use localhost because its hosted on the same machine as my other docker containers, but if they are on different machines you can use local IP addresses).
I use their free plan, which is all you need if you're just serving web content to a small number of users. You might need a domain to do this, but I don't recall.
My layman's understanding is you basically make cloudflare be the router, so their server/ports are what is exposed to the open internet rather than your local router.
Thank you. I run like a million Docker containers and haven't ever gotten around to looking into this and you've just enlightened me perfectly. I appreciate it.
If you're already running a million docker containers then just get a vps somewhere to host your blog. Cheapest reliable one I found last I looked was vultr. I think mine is $15 a year.
I'm glad! Halfway through writing that I got worried it was a little opaque. Best of luck setting it up. If I can do it, anyone can!