News for hackers. Stuff that matters.
Re:Self-Hosting at Home and Privacy by rubatuga on Thursday September 12, 2024 @03:27PM (#41524568)
Honestly I don't personally see a problem with exposing your IP. You want to participate in the global routing network known as the internet? Then you will be associated with an identity. TLS allows wildcard subdomains as well allowing privacy.
Re:Self-Hosting at Home and Privacy by 0x1ch on Thursday September 12, 2024 @03:29PM (#41524586)
I think the only real takeaway is that you will always have a trace once you've worked with TLS and registered a domain name. I have a domain from four or so years ago I used for random web apps and such, all of that got logged on crt.sh. If someone knew I owned xyz domain, they now know all of the subdomains I was proxying apps on.
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?

Re:Self-Hosting at Home and Privacy by colinsane on Thursday September 12, 2024 @04:08PM (#41524977)
i like to invert the model:

1. host all services on the residential IP.

2. restrict all clients to a VPN.

because self-hosting for me is more about the sovereignty/autonomy: privacy concerns can weaken that, but inserting a VPN in between you and the other self-hosters weakens that _more_ (arguably). whereas not much is lost by adding a VPN between me and my Google searches.

'course the other thing you can do is to ask a friend to tunnel your traffic. i was pretty reluctant to do that at first, due to uptime concerns, but if you know other self hosters who've been at it for a while then they'll be as invested in keeping that box online as you will. your anonymity pool will be smaller than with a commercial VPN, if that's what you care about, on the other hand if your VPN "provider" gets a call asking to unmask you, you're more sure to learn about that.

Re:Self-Hosting at Home and Privacy by mingus88 on Thursday September 12, 2024 @04:55PM (#41525466)
Doesn’t Tailscale solve this problem directly?

I no longer need to expose a public service or even manage certs because anywhere I am I connect to my tailnet and have transparent access to my entire network

Re:Self-Hosting at Home and Privacy by zikduruqe on Thursday September 12, 2024 @04:58PM (#41525496)
Or even Tailscale Funnel to expose your service to the internet

https://tailscale.com/kb/1223/funnel

Re:Self-Hosting at Home and Privacy by aborsy on Friday September 13, 2024 @03:42AM (#41528931)
Does not have ACL in front of funnel, can be rate limited since it goes through relays, and probably can’t use a custom domain.