News for hackers. Stuff that matters.
Re:Self-Hosting at Home and Privacy by manchmalscott on Thursday September 12, 2024 @03:33PM (#41524623)
I use cloudflare tunnels so my home IP is not attached to any DNS record, plus I have *.<my domain> route to a Traefik instance and I handle all routing there. When I add a new service on a new subdomain, there’s no new dns records announced, it just quietly stops returning a 404 error.

If I wanted to, I could run _everything_ through Authelia first, so you wouldn’t even see the 404 until you log into an account, but that hasn’t seemed necessary.

Re:Self-Hosting at Home and Privacy by PhilipRoman on Thursday September 12, 2024 @04:06PM (#41524947)
I do it the good old fashioned way, with a reverse ssh tunnel from VPS to home. An added benefit is that SSL is terminated only at the very end, so the VPS provider is just a dumb pipe.
Re:Self-Hosting at Home and Privacy by aborsy on Friday September 13, 2024 @03:40AM (#41528922)
The problem is, since the reverse proxy and authentication system face the internet, you are responsible for maintaining its security.

Software has vulnerabilities. Like nginx proxy manager had vulnerabilities and the developer didn’t patch some.

With a cloud based proxy, a third party handles authentication. But then, they shouldn’t access data.

Re:Self-Hosting at Home and Privacy by PhilipRoman on Friday September 13, 2024 @07:46AM (#41530267)
For purely personal stuff which I only access from my devices, I use SSL client certificates in front of normal auth. The rest of services are mostly public anyway.
Re:Self-Hosting at Home and Privacy by krtkush on Thursday September 12, 2024 @04:02PM (#41524892)
I have a similar setup with Tailscale and Nginx Proxy Manager.
Re:Self-Hosting at Home and Privacy by cma on Thursday September 12, 2024 @03:50PM (#41524768)
"Using a CF Tunnel implies that all SSL encrypted connections will be decrypted by Cloudflare, the connections data exists on their servers in plain text and then is re-encrypted for the transport to the user."

https://www.reddit.com/r/selfhosted/comments/133rr6n/about_c...

Is that true? Then third party doctrine would apply and you have to trust them more right?

Re:Self-Hosting at Home and Privacy by manchmalscott on Thursday September 12, 2024 @05:24PM (#41525739)
I don’t believe any proxy could route traffic dynamically the way cf tunnels (and traefik for that matter) do without being able to read the unencrypted http requests. That’s a trade off I’m making and aware of, because I don’t want to use a VPN to access my services. (Another big trade off is cf only tunnels HTTP traffic, so I can’t use SSH keys to reach my self hosted gitea repos. Honestly that’s a bigger motivator to me to find another solution)
Re:Self-Hosting at Home and Privacy by senectus1 on Thursday September 12, 2024 @08:09PM (#41526960)
>If I wanted to, I could run _everything_ through Authelia first, so you wouldn’t even see the 404 until you log into an account

I'm actually considering this right at the moment. The idea of enforced 2FA just feels a lot safer to me

Re:Self-Hosting at Home and Privacy by aborsy on Friday September 13, 2024 @03:34AM (#41528884)
It’s a great product, but unfortunately they terminate the TLS and scan the traffic. It’s same as hosting the data on google or Microsoft (except you pay for hardware also). It should not be considered self hosted.

Is there a reverse proxy where the client makes a TLS connection to the proxy, proves their identity, if successful is allowed by proxy to initiate a new TLS connection to the server at home with the certificate of that server?