pavement

Tunneling over SSH from Windows

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
You will need:
 
You will need:
  
PuTTY -- get it [[http://www.chiark.greenend.org.uk/~sgtatham/putty/ here]]
+
PuTTY -- get it [[http://www.chiark.greenend.org.uk/~sgtatham/putty/ here]]
 +
A Windows workstation
 +
A server you can SSH to that is outside your network
  
A Windows workstation
 
  
A server you can SSH to that is outside your network
 
 
 
 
Download and run PuTTY
 
 
Open Putty, Category -> Connection -> SSH -> Tunnels.
 
 
In the port forwarding section, add new forwarded port.
 
  
 +
# Download and run PuTTY
 +
# Open Putty, Category -> Connection -> SSH -> Tunnels.
 +
# In the port forwarding section, add new forwarded port.
 
Pick a source port. Any port will work, but 1080 is the standard for
 
Pick a source port. Any port will work, but 1080 is the standard for
 
socks 5 proxies. Leave Destination blank, and choose Dynamic (instead
 
socks 5 proxies. Leave Destination blank, and choose Dynamic (instead
Line 22: Line 17:
 
[[Image:puttysshtunnelcreate.PNG]]
 
[[Image:puttysshtunnelcreate.PNG]]
  
Okay, now you can save your session and start it.
+
# Okay, now you can save your session and start it.
  
 
[[Image:puttysshtunnel.PNG]]
 
[[Image:puttysshtunnel.PNG]]
  
In applications you can go into their connection settings section and
+
# In applications you can go into their connection settings section and
 
set localhost, port 1080 as the SOCKS host. The application will then
 
set localhost, port 1080 as the SOCKS host. The application will then
 
tunnel everything through your SSH connection. You can test by seeing what IP [[http://grabmyip.com grabmyip]] reports.
 
tunnel everything through your SSH connection. You can test by seeing what IP [[http://grabmyip.com grabmyip]] reports.

Revision as of 16:23, 28 March 2006

You will need:

PuTTY -- get it [here]
A Windows workstation
A server you can SSH to that is outside your network


  1. Download and run PuTTY
  2. Open Putty, Category -> Connection -> SSH -> Tunnels.
  3. In the port forwarding section, add new forwarded port.

Pick a source port. Any port will work, but 1080 is the standard for socks 5 proxies. Leave Destination blank, and choose Dynamic (instead of Local or Remote). Click the add button, and you should see D1080 listed in the box.

Puttysshtunnelcreate.PNG

  1. Okay, now you can save your session and start it.

Puttysshtunnel.PNG

  1. In applications you can go into their connection settings section and

set localhost, port 1080 as the SOCKS host. The application will then tunnel everything through your SSH connection. You can test by seeing what IP [grabmyip] reports.

Other ways of doing it: [here]

[here]


See also

ssh

sshd

putty

Running SSH on Windows

Personal tools