A question about remote access of self hosted services (cloudflare, nginx, tailscale)
I'll start with the short story. I've been banging my head over this for the past week, without really coming closer to understanding how should I approach this. I've tried using nginx, tailscale, cloudflare, and random mixes of these. I tried, but couldn't find anything super comprehensible to follow or learn along.
in the end, what I wanted to achieve with this is to at least get a working link between my cloudflare domain and my jellyfin server. However, I did read about the TOS restrictions and read many people suggesting the use of a reverse proxy, nginx.
This week I'll be porting everything to a NAS, so at least as far as I've understood, tailscale would be a good solution to avoid port forwarding and annihilating the security of the network here.
Now comes today, where I still have no idea how I should tackle this, in what order, etc...
Any help is very much appreciated.
Posted Apr 14, 2023, 8:06 PM UTC
Strangely unclear from your post if you're trying to VPN into your LAN to access services, or if you actually want to expose services to the internet on a domain protected by SSL.
If the latter, Synology NAS actually comes with free subdomain, dynamic DNS, and SSL certificate support built in, and you would want to use the "reverse proxy" feature to expose selfhosted services. Remember to forward the relevant ports on your router also.
Yeah, I had some issues sorting out what I was thinking in the comments below, but I sort of understood what I was really failing at. About the nas, it's asustor, so I dunno if it also supports those features you said
Synology's reverse proxy can also be used to point to other devices on your network if it helps.