←back to thread

319 points SpaghettiX | 1 comments | | HN request time: 0s | source
Show context
72deluxe ◴[] No.30285810[source]
Why not just run Wireguard on a raspberry pi, set up DDNS to send your home IP to a Dynamic DNS provider (if you're on a dynamic IP), and then SSH to your machines at home using keys (instead of passwords)?

Setting up a Pi and running the Wireguard install script is about half an hour of work.

replies(1): >>30288832 #
anderspitman ◴[] No.30288832[source]
If you're using ddns why do you need WireGuard at all?
replies(2): >>30290782 #>>30291123 #
philjohn ◴[] No.30291123[source]
Wireguard needs an endpoint
replies(1): >>30291701 #
anderspitman ◴[] No.30291701{3}[source]
If I understand GP correctly, the goal is to SSH into an RPi on a home network. Since they mention DDNS, it's implied that they're connecting directly to their home router. What I'm saying is why not port forward directly to the RPi?
replies(1): >>30330296 #
1. 72deluxe ◴[] No.30330296{4}[source]
Yes you are right. If just connecting to the Pi, port forwarding is fine (and I use this).

When adding more devices at home (IP cameras etc.) and not connecting just to the Pi then the Wireguard VPN comes in.