I use a wireguard tunnel as a reverse proxy and it does ssl passthrough with sni. Termination happens on my local box and the reverse proxy host doesn’t do any certs.
Comment on Replacing Cloudflare Tunnel with a Selfhosted Towonel Tunnel
Zikeji@programming.dev 5 days ago The benefit here is the software by design can’t read your traffic - it’s using SNI to route, not the host header, so SSL pass thru keeps the payload private. It’s billed as shareable for that reason.
Also this is open source and you can host it yourself.
BakedCatboy@lemmy.ml 5 days ago
moonpiedumplings@programming.dev 5 days ago
What reverse proxy are you using?
BakedCatboy@lemmy.ml 5 days ago
I use haproxy just for simplicity, with the https fronted in tcp mode with a tcp request inspect delay and acls using req_ssl_sni allows switching between multiple backend based on hostname, though if you only had 1 backend server then it could just be a raw tcp proxy. I have my stuff split between 2 local boxes that are both connected to the reverse proxy using wg so this works well for me.
You missed my point?
why can’t you just use a wireguard connection between your device and the server, or network?
curbstickle@anarchist.nexus 5 days ago
Thats the part right there. Its for not your device to access.
Like a self- hosted website/blog for example. Or taking the complexity of “start this before you try to connect to my eBook server” for your BIL, or “OK mom, when you want to watch the home videos I converted to digital you have to do it only from your phone, press this first, then share to your TV”.
That is the part I think you are missing. Use other than yourself and your own managed devices.
eodur@piefed.social 5 days ago
You mean putting your home servers on a VPN with your client devices? That wouldn’t really allow for exposing public services.