SSH Port Forwarding
Have a service that you don’t want to directly expose, or that doesn’t have good security, that you still need to access? Today we’re going to look at using SSH to accomplish this!
This tutorial uses nc
, UFW/IPTables
, and SSH
to demonstrate how to forward any port over an SSH connection on TCP 22. You can extend this to just about any service. For example, this works for accessing websites, or other services that are exposed through a web browser.