News for hackers. Stuff that matters.
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by viraptor on Monday October 26, 2020 @09:01AM (#24895680)
As an alternative, you could put it on a public mesh VPN. I use ZeroTier for that so I don't have to host an explicit beacon.
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by narrationbox on Monday October 26, 2020 @02:37PM (#24899530)
At Narration Box we use Tailscale with Caddy's Cloudflare Let's Encrypt DNS-01 for internal DNS resolution + TLS for the apps that need it. In essence you get something like Google's internal "go/ links" except everything's hosted on the external DNS server and automatically protected by default by Tailscale since the IPs pointed to cannot be accessed publicly.
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by athriren on Monday October 26, 2020 @05:21PM (#24901587)
if you guys do technical blog posts addressing aspects of your toolchain, i request one on this.
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by narrationbox on Monday October 26, 2020 @06:23PM (#24902222)
You are not the first to ask :)

https://news.ycombinator.com/item?id=24436399

I will definitely do a writeup during/before the Christmas break.

Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by athriren on Wednesday October 28, 2020 @07:03AM (#24917384)
ha, thanks! i will look for it!
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by anderspitman on Monday October 26, 2020 @03:44PM (#24900423)
Does ZeroTier let you expose a specific machine publicly? ie if I have a raspberry pi behind a NAT, will ZeroTier provide me with a public IP anyone can use to connect to it?
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by viraptor on Monday October 26, 2020 @04:38PM (#24901103)
No, you still need to find a machine with a public IP. The usecase in parent comment mentioned only the SSH part, which is easier. But if you want to do forwarding from a specific machine to the public, you can do it manually.
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by nurettin on Monday October 26, 2020 @09:10AM (#24895759)
This looks nice, Free tier even supports up to 50 devices.
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by msh on Monday October 26, 2020 @10:18AM (#24896397)
zerotier is nice, but I have migrated to tailscale. Its based on wireguard and seems even better performance wise.
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by anderspitman on Monday October 26, 2020 @03:46PM (#24900468)
> Its based on wireguard and seems even better performance wise.

I hadn't considered that, but it makes sense. Since ZeroTier is layer 2, I'd expect it to become a leaky abstraction (at least for performance) in certain cases where algorithms are expecting other layer 2 hardware to be essentially directly connected with a wire when in reality they're connected over the internet.

Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by viraptor on Monday October 26, 2020 @04:49PM (#24901222)
What algorithms you have in mind? That would be a bad assumption, since layer 2 can be ethernet, but it may be i2c, or slip, or spacewire... Layer 2 does not mean "close" or "fast".
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by johtso on Monday October 26, 2020 @10:57AM (#24896825)
Yeah, tailscale does look nice, only one user on the free tier was a deal-breaker for me though.