News for hackers. Stuff that matters.
Re:Start Self Hosting by dcchambers on Wednesday March 23, 2022 @03:27PM (#30782281)
> You need to take care of security

Easiest solution is to just host stuff on a local network without access to the wider internet. E.g. running on an old laptop/raspberry pi/server in your basement.

Sure, that means you can no longer access your self-hosted stuff when you're out of the house, but the tradeoff is peace of mind about your data leaking or worse.

Re:Start Self Hosting by spiffytech on Wednesday March 23, 2022 @04:19PM (#30782815)
> Sure, that means you can no longer access your self-hosted stuff when you're out of the house, but the tradeoff is peace of mind about your data leaking or worse.

Lots of things I'd consider self-hosting are functionally useless if I can't access them from my phone while out and about.

I could put my phone on a VPN, but that's just another layer of complexity to add to the self-hosting process.

Re:Start Self Hosting by mynameisvlad on Wednesday March 23, 2022 @04:35PM (#30782991)
I do a split approach -- Most services are available internally only, some are reverse proxied out. It used to be caddy2, but after a recent issue and switching to TrueNAS, I just use Traefik with k8s Ingresses and only set it on the few containers I would like accessible.
Re:Start Self Hosting by fiddlerwoaroof on Wednesday March 23, 2022 @08:59PM (#30785381)
Tailscale solves the “a vpn is annoying to setup” problem pretty nicely.
Re:Start Self Hosting by pixiemagic on Friday March 25, 2022 @08:23AM (#30801244)
It does, but I found it to drain a lot of battery on mobile (iOS). I'd say that for a simple setup you're likely to be accessing your services via their LAN IPs or their TailScale IPs, so if you have these bookmarked etc. on your phone then it means you either:

1) Have separate bookmarks for accessing services via the LAN or the VPN, and need to remember to turn on and off the VPN when you need to access things out of the house; or 2) Always access services via the TailScale IP, which means you need to be connected to the VPN on your phone even to access them from your LAN, which in turn either means toggling the VPN on and off even when at home or leaving it connected all the time and letting it drain 20% of your battery every day.

It's a great service but I didn't find it to make accessing self-hosted services from out of the home on a phone to be as nice as using them at home, or using a managed service.

Re:Start Self Hosting by fiddlerwoaroof on Saturday March 26, 2022 @05:08AM (#30810366)
You could also configure dns via Tailscale so that the same host name resolves to different IPs if you’re connected to the VPN.
Re:Start Self Hosting by simonw on Wednesday March 23, 2022 @04:22PM (#30782847)
Tailscale makes accessing a Raspberry Pi in your basement from outside of the house genuinely easy, including from mobile devices.

I think Tailscale opens up all kinds of new opportunities for self-hosting.

Re:Start Self Hosting by chaxor on Thursday March 24, 2022 @01:48AM (#30786704)
You should probably use headscale instead of you care about self hosting.

If you don't trust Google drive with your passwords, why would you trust a company's server that manages access to all of your devices?

Re:Start Self Hosting by mateuszf on Thursday March 24, 2022 @02:53AM (#30786976)
Never heard of headscale before. Doesn't it require the control server to be accessible publicly?
Re:Start Self Hosting by Handytinge on Sunday April 03, 2022 @08:37AM (#30896386)
Yes, that's the trade off. Let someone else manage the control server, or manage it yourself - not self hosted vs self hosted
Re:Start Self Hosting by nirvdrum on Wednesday March 23, 2022 @03:37PM (#30782384)
Setting up a VPN is pretty easy these days. If you don't want to run it on your router, you can look at something like Tailscale for remote access.
Re:Start Self Hosting by chaxor on Thursday March 24, 2022 @01:46AM (#30786692)
*headscale If you care about privacy or self hosting, use headscale instead.

You have no idea what tailscale is really doing.

Re:Start Self Hosting by bbu on Thursday March 24, 2022 @03:47AM (#30787205)
>You have no idea what tailscale is really doing.

please elaborate...

Re:Start Self Hosting by chaxor on Sunday April 03, 2022 @10:37AM (#30897248)
What I mean is just the general statement that can be applied to any company or server. Even if they release all of their code as free and open source (not entirely true, as I understand it - their public servers that handle connecting your devices is not), there is no gaurantee that they are actually using that specific, unmodified code on their servers. They could add or remove whatever they like to the software before deploying it on their servers without you knowing. You have to trust whatever they may write on their blogs. Some people may not care, but the winds these days are shifting away from trusting companies with their private data.
Re:Start Self Hosting by denton-scratch on Wednesday March 23, 2022 @04:25PM (#30782887)
That's not really a solution if you want to self-host mail, or a blog; those services only work if the wider internet can see you.
Re:Start Self Hosting by jjnoakes on Wednesday March 23, 2022 @04:16PM (#30782788)
That helps for external threats breaking into buggy network services, but it doesn't help for compromised apps/images/dependencies exfiltrating your secrets.
Re:Start Self Hosting by asdff on Wednesday March 23, 2022 @04:28PM (#30782920)
A compromised app on a local network has no one to phone home to.
Re:Start Self Hosting by jjnoakes on Wednesday March 23, 2022 @04:44PM (#30783102)
If it's an air-gapped local network, then sure, but how useful is that? Are you disconnecting your phone/laptop from the internet when you access the air-gapped network, or do you use two network interfaces on every device?

I assumed the GP was talking about a typical home "local network", one behind a NAT - so no incoming traffic, but usually, it allows any outgoing traffic.

Re:Start Self Hosting by ngcc_hk on Wednesday March 23, 2022 @03:35PM (#30782367)
How about add a remote apple host. Not for the world but just you?