-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

How to use the SSH protocol to encapsulate traffic on Windows

Let’s say, you want to access a remote server on ports TCP 7333 and 809, but they are closed by your network administrator and you just can connect via SSH to the remote server (this howto works with a third server that could be used to tunnel connections). This is far enough, you can use PuTTY to forward the connections from your local machine to the remote ports via a SSH connection.

Howto

To do this, open PuTTY, and enter the hostname on which you are able to connect :

  • hostname

Then, go to Connection, SSH and Tunnels

  • Connection, ssh and tunnel

Here, add source port 802 and destination server.domain.tld:802

  • First port forward

Click add, and then add source port 7333 and destination server.domain.tld:7333

  • Second port forward

Then finally, click add and open

  • Add and open

Now, if you connect to localhost at port 7333 or 802, your connections will be forwarded from your local machine to the remote server.

If you close PuTTY, your tunnels will be closed too.

Article originally posted on my old website at this url

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJW5eRKAAoJEBeKS2x6xuR7IlQP/RxleGqbONldxLOLuWN2iyOb
A+Y3dmjX7uJQ7mIkmVA/Sw+ay6RG6k1gtTJzWB37bJgKllLRTX8lo+hYfbKpnL1s
R96PWJ7QXy7khqWqibX6dPUmT7y1rhkSSoBqO1LX4utydG8Rfqz4IarCSgLQ1Kro
KhfnxAm61Vo8qH3HnVHW2gq4QHLWTYMtcubv24zeUZetAGA8RniplmFnSmWi9Usp
pkC0/WN+3VdIMgCPMc+1/TZtFE+DcpmUdbyeA5wkBj6iHy2gQwDCtPMejtYstWJ8
TwzNNNEmC1NWirg4ufpI7IvzE/pUQxlG8jQYoyHEVwGWsgpahZZE08qqdcU4x0Vv
qhP4KRjcMTgy8G02dZSa7rUqsyvJ65SqRJrpGaTVPfx+ndXoGY5RFEkNY855JwvH
9hbhnWIFT2ug+KPvBZ/aiirXsPAKTsitKpEP8+ObPoSGgNwJILYKNP+T3qHca7JX
GFPj2PbFAL629Kj9xj/l5f6F+EDh+NuXkWUwO/7T39Gywf0txORvnFGFpREU0L1S
xdz1Obz+tEZGD0HG/4Mx/jdD1/aEW0aeWrXH99EGKf1kJaen1LzPcbPY5K9AX9L3
ZKapxNjgARlWuZ390EgQHOmEGbf6dNTEvLJPCIKDfNLLexWqMACPBU0sqYUdPl85
YufWg2Xb+Z6Fm+jrkdSH
=CIB7
-----END PGP SIGNATURE-----

Hint: To validate signature, please view page source and copy html code between BEGIN PGP Signed message and END PGP Signature anchors.

Created the 2009-12-03

Share this


Article content

Resources

10 last blog posts

Related to this article

blog comments powered by Disqus