Comment

Comment by RpFLCL

This is a handy resource, SSH tunnels are something that I always find easier to grasp when displayed visually.

I use a reverse SSH tunnel to access my home network when traveling.

Ex:

- [Machine-A (on my LAN, behind NAT, with a dynamic IP address)] maintains a long lived SSH connection to [Machine-B (a VPS with a public IP)] with a reverse tunnel configuration.

- I can then SSH into Machine-B and follow the tunnel back into Machine-A, and from there access the rest of my home network.

It works pretty well. I can access files on my NAS and check on my Raspberry Pi cameras without needing to put either on "the cloud". Although I have to admit I always have to pull up a resource like the one in OP whenever I want to setup something like this, I've never learned it by heart and always need a refresher.

parent RpFLCL 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton