How to Create an SSH Tunnel to a Linux Server in Windows 10

In this blog I will show you how to create an SSH tunnel in Windows 10. First, for validation purposes, check my current public IP address. It is After I have connected to the SSL tunnel, my public IP address will change to the public IP address on the side where the Linux server resides.

First, launch Putty and enter the public IP address of the SSH server (Linux) in the remote location that you want to tunnel to. In this case, I put root@ip_address so that it does not prompt me for the user name in the future. Save the session with any name you like.

Click Connection -> SSH -> Tunnels, then enter a new forwarded port as follows. CLick Add when all information has been entered / selected properly.

After you click Add, you will see the new port show up:

Click SSH and choose “Don’t start a shell or command at all” so that a shell for the remote computer does not show up whenever you connect to the tunnel.

Go back to the Session screen and click Save once more so that all the changes are saved.

Now to connect to the remote host to create a tunnel, click Open.

When prompted, enter the root password for the connection.

Now the connection is established. We will now configure the Internet options in Firefox so that our browsing will use the remote Internet connection through the connected channel.

In the Tools menu, click Options. Click Advanced, then choose the Network tab. CLick Settings…

Select the options as shown. Click OK when done.

Go to the URL about:config and click “I’ll be careful, I promise!” button.

Change the netowrk.proxy.socks_remote_dns value to true.

Now you can browse the Internet using the SSH tunnel you just built. Here, the public IP address changes to that of the remote IP address.

That’s it!