SSH Port Forwarding with Putty

Wow, this was a neat little feature I never knew existed until recently.

If you're connected to SSH to a remote server, you can tunnel through firewalls and access services via your remote computer using this method.

In the PuTTY configuration:

image

  • Go to "Connection" > "SSH" > "Tunnels"
  • For source port, enter in the port number you'd normally use on the remote machine (for instance 4680)
  • Destination should be "localhost:4680".
  • Click "Add"
  • When you connect, run an instance of the remote service on port 4680.
  • On your local computer, access "localhost:4680" and it should appear as if you were looking at it remotely.

uRvck
YAY!

Source

Using port forwarding with PuTTY

 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog