SSH tunnels ๐Ÿš‡

explains use cases and examples of SSH tunnels - A visual guide to SSH tunnels / HN

# ssh

ssh -N -L [local_port]:127.0.0.1:[remote_port] 100.69.234.21

# Port forwarding โฎบ ๐Ÿšง

Notable

  • sshuttle / doc - route an entire subnet over SSH - did not understand what id does
  • systemd user services + Cockpit (surprisingly nice)
  • Autossh - automatically reconnects dropped tunnels.
  • or custom tools

# see also

Written on February 7, 2021, Last update on July 26, 2026
ssh network-security in-progress