Cloudflare or Tailscale?
from frosch@sh.itjust.works to selfhosted@lemmy.world on 30 Apr 18:33
https://sh.itjust.works/post/59405642
from frosch@sh.itjust.works to selfhosted@lemmy.world on 30 Apr 18:33
https://sh.itjust.works/post/59405642
Which route did you go for your homeland, a tunnel to your services or setting up tail scale/wireguard and access them on your trailer?
#selfhosted
threaded - newest
I have wireguard, it’s supported by my router (Fritzbox).
same here, took me 7m to set this up on OPNsense with FritzBox
Nice, I have to take a look if mine supports it, too!
Funny thing, I use Tailscale to tunnel the access, but use cloudflare dns for device adress resolution.
Pangolin on a vps.
isn’t it awesome? i am scared to update it too far for an unknown reason
It’s opensoursrso we should be able to roll back.
When I looked into it first, Pangolin seemed a bit overwhelming.
Is it hard to set up?
No, ridiculously easy with docker.
Then it follows the same principles as cloud flare. Create a site (vpn endpoint), get a docker snippet for a newt (what they call the vpn connector), paste it in the docker compose on your Homeserver and see it come up in the Webinterface.
Then you create a public resource and point it to said site and give it a url.
Done.
Ask me if you have questions
Cool, do you get any auth and/or ingress protection?
With cloudflare, you get some auth options, can block AI crawlers (that get recognized…) etc for free
Yes there is auth on by default for resources. You can use real accounts that need to be created or passwords or pins. And I think some id providers.
Temp stuff where I could care less about the free tier domain name or things that I just want to funnel to my existing devices: Tailscale
Widespread, prolonged services that will be more actively maintained for a longer amount of time and can just spin off of its own domain/subdomain: Cloudflare
Both are great.
Asked my ISP for a public IP, exposed all things that can handle that to the public. Custom Wireguard server for VPN
Pangolin on a free Oracle VPS.
is there a bandwidth/throughput limit on Oracle VPS?
Something like 10TB. I’m an incredibly heavy user and I’d have to quadruple all of my usage, including home, to hit it.
Not that I’ve noticed.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
4 acronyms in this thread; the most compressed thread commented on today has 7 acronyms.
[Thread #265 for this comm, first seen 30th Apr 2026, 19:30] [FAQ] [Full list] [Contact] [Source code]
Headscale on fly.io
I have a port forwarding without any tunnel to third parties and Wireguard.
I used wireguard, then switched to Pangolin. Wireguard was simpler and worked better with mobile apps though. I’ll prob switch back for most apps.
Zerotier. I found it easy to set up and use. Free tier gives you one network and ten hosts, I think.
I do run wireguard on my router, but the main reason is ad blocking, not hiding services. Most services are publicly exposed.
Nice, I thought about using wireguard as a private VPN, too. Having my pihole block my mobile data on the go would be neat
How about both? I run the evil Cloudflare Tunnels/Zero Trust with Tailscale as an overlay on the server.
I’m a bit stumped, what do you gain from this setup?
Or do you mean just running some services through the tunnel for easy access and “hide” others behind tailscale?
tailscale. works perfectly, the only problem is needing a google acc for login
You can use e-mail now.
<img alt="" src="https://lemmy.world/pictrs/image/2d265414-571e-4947-9424-388b90a9b9bc.png">
is it possible to switch to email from my google acc tied account? or do i need to create a new one?
I haven’t looked into it yet, I’m in the same position of using Google to login.
I just noticed that the login page changed.
I believe registration is limited to a third party/OIDC. The login page is different to sign-up
Ah, that makes sense
No, you cannot. Putting in your emails just redirects to the identity provider you used when signing up. If you try to create an account you’ll see that email’s not a option.
And that years back they moved their servers from Canada to the US. That’s when I dropped TS and just did wireguard by hand.
You can use GitHub.
That’s not really a solution.
@hexagonwin
I think Headscale gives you the option of using your own provider.
@frosch
Netbird via a free cloud VM. Works great.
This is the way
Who provides free cloud VM?
Nice, I’ll look into that!
Wireguard
I am very happy with Tailscale
Wireguard.
Dunno if Cloudflare does effective auth for the tunnel or if you have to set that up yourself, but I don’t bother trying to expose services to the internet in any way because some of this stuff was just never designed for proper web security (cough Jellyfin).
It’s still worth setting up a wildcard cert with ACME so you get nice https and a real domain.
Cloudflare has some opt-in auth. Mail-OTP is a nice balance imo: You can allowlist mail addresses per service/subdomain and set expiry for each. Then for access, you first have to enter the mail address, get the OTP and then access the service.
So, nobody without access to allowed mail addresses even gets to knock on you door.
But yeah, that’s why I think about going tail scale: why bother having something exposed when not needed?
I just think, some services might be nice to provide to friends, too - and having them connect to my tailnet for this is a bit too much friction, I guess
Just Wireguard on a router, but I’m thinking Netbird.
WG can be a bit PITA to set up, but once you do, it just works. What I would to have is more fine grained control over who goes where if I were to expose some of the services to friends.
wg-easy can greatly simplify your wireguard setup. Allows you to quickly generate access configs for friends and family on the fly (QR-codes, too). You still get access to post-up/-down hooks if you want tp create a more specialised deployment.
I’m liking self hosted NetBird atm
Both.
I have a free cheap vps providing me a public IPv4 address, connected to my opnsense router via tailscale, and use a simple port forward from the VPs to the router’s tailscale IP.
I have certain port/connections coming in either via the tailscale IP or my external IPv6 address all forwarded to my internal Caddy reverse proxy which itself is only running IPv4.
And I use cloudflare for my dynamic DNS resolution of my domain. A records are my public VPS IPv4 and AAAA are my own public IPv6 addresses respectively.
If/when I change to a service provider that doesn’t use CGnat for IPv4, I can stop doing the forwarding from my VPS.
That’s so we can stream music/video without needing to use the VPN.
But, I also run tailscale on my phone, so I can do admin stuff remotely from it, albeit painfully, on this small screen when things break. 🤣