From the course: Learning VPN

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Forwarding an SSH connection

Forwarding an SSH connection

From the course: Learning VPN

Start my 1-month free trial

Forwarding an SSH connection

- [Instructor] Nowadays SSH is available for all kind of clients, Linux, Mac, and Windows. So while I'm using a Linux system here, these steps should work the same on any major platform. First, let's take a look at forwarding one port on the server to my local system so I can use that service through a secured connection. I have a web server running on port 80 on one of my machines on the protected network. But port 80 on that machine isn't made available through the remote network's firewall so I can't get to my server from the outside. To be able to access this port traffic to and from it needs to come from within the protected network. So using the SSH server I have exposed to the Internet, which also shares a private network with that server, I can create an SSH connection to the server and forward a port on a protected machine through to my system. Then I can access that port on my local machine and SSH will tunnel the traffic back and forth from that port to the remote server…

Contents