You can configure a SSH server in Windows installing freeSSHd. Once installed you have to create an user and will be used to access to the Windows server. To be accesible to also need to open the 22 port in the Windows firewall.

If you use a Windows virtual machine to access another server because a VPN, you can connect from your Linux console to the destination server using this Windows as a proxy. For example, the final server IP is and the Windows IP is The port forwarding will be from to Yo can achieve this in several ways:

Windows provided solution

Creation rule:

netsh interface portproxy add v4tov4 listenport=5555 listenaddress= connectport=22 connectaddress=

Delete rule:

netsh interface portproxy delete v4tov4 listenport=5555 listenaddress=

Using an application

Install the application PassPort. Yo must run this application as Administration to be able to setup the forward.

Using Putty

Putty can also configure port forwarding (in this case it’s called SSH Tunneling because the forward is secured because it’s encrypted). Go to Connection > SSH > Tunnels and create with this data:

  • Local ports accept connections from other hosts: Checked
  • Source port: 5555
  • Destination:
  • Local: Checked
  • Auto: Checked

Once completed, click on the Add button.