News for hackers. Stuff that matters.
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by lhoff on Monday October 26, 2020 @04:22AM (#24893885)
I have a similar setup but instead of SSH Tunnels i use wireguard.

In my case some services are not routed to the public internet and only accessible from within my privat wireguard network. E.g my smart home hub. I really like the flexibility to decide whats available for who.

Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by twicetwice on Monday October 26, 2020 @08:52AM (#24895604)
I did the same. It works really well for hole-punching through my stupid Comcast router! And I anticipate it will continue to work really well as I add more devices on my parent's, sibings', etc networks. It's cool to not have to think at all about where my devices are, since they're just all directly accessible through their dedicated IP on the wireguard VPN.

I also have my phone, laptop, etc all on the wireguard VPN, so I can ssh to anything from anywhere. I also have my laptop open to password-based ssh only from my wireguard VPN, so I can ssh (via termux) into my laptop, which has been extremely convenient in addition to being just plain cool. I can't speak highly enough of wireguard!

Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by allthingsequal on Monday October 26, 2020 @05:33AM (#24894304)
Could you please elaborate on your setup? I haven't had the opportunity to play with Wireguard yet, that could be a useful first project to me :-)
Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by vsajip on Monday October 26, 2020 @08:16AM (#24895278)
I've started playing around with Tailscale [1], which is based on WireGuard. Free to use for a single user, and I've tried it out on Raspberry Pi, Linux x86_64, Windows and Android. Seems to work well, except there appears to be some issue with accessing Windows via the secure IP (neither ping nor Remote Desktop appear to get through the Windows firewall, despite having a specific firewall rule for Tailscale) [2]. Can SSH into e.g. Linux hosts using PuTTY from Windows without issues.

[1] https://tailscale.com/

[2] https://github.com/tailscale/tailscale/issues/854

Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by hakeberio on Monday October 26, 2020 @05:46AM (#24894361)
Pivpn is beginner-friendly and you can always branch off from there.

https://www.pivpn.io

Re:Putting Raspberry Pi Online with Caddy and SSH Tunnel by 8K832d7tNmiQ on Monday October 26, 2020 @08:26AM (#24895367)
the idea is that your hetzner server acts as a gateway and you can communicate with your pi through the virtual private network, therefore removing any need to access through public ip.