news.volyx.in

A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding (labs.iximiuz.com)

381 points by signa11 · 69 days ago · 77 comments on HN

Article summary

The article provides a practical guide to SSH tunnels, covering local and remote port forwarding, and dynamic port forwarding. It explains how to use SSH tunnels to access internal services, expose local services to the outside world, and create a SOCKS proxy. The guide includes examples and diagrams to illustrate the concepts. The article aims to help readers understand and use SSH tunnels effectively.

Main themes

  • SSH Tunnels
  • Port Forwarding
  • Remote Access
  • Network Security
  • Sysadmin Tools

What commenters say

  • Learning the ins and outs of SSH is a valuable investment for sysadmins, with a high return on investment.
  • The SSH manual is a useful resource for learning about SSH, but it may not be the best way to learn for everyone.
  • Some commenters prefer to use SSH keys with an agent for authentication, while others use passwords or other methods.
  • The use of jump hosts and ProxyJump rules can simplify SSH connections and improve security.
  • Some users find the SOCKS proxy support in SSH tunnels to be particularly useful for accessing internal resources or bypassing web filtering.
  • There are different approaches to using SSH tunnels, including using plugins like FoxyProxy or Container Proxy, or relying on native PAC files.
  • Some commenters appreciate the flexibility of SSH tunnels, while others prefer more straightforward solutions like Tailscale.
  • The article's focus on practical examples and diagrams is seen as a refreshing change from more theoretical or drama-focused discussions.