Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I use my laptop in open Wi-Fi networks I want to tunnel all my TCP/IP traffic through a SOCKS5 server running on my VPS.

I'm using Windows 7 and Proxifier in order to tunnel ALL traffic through the VPS. Now unfortunately SOCKS5 is unencrypted and I want to have encryption. So my question is how can I encrypt the traffic to the SOCKS5 server? Maybe in combination with SSH?

I know I could just make a SSH tunnel, but this way I couldn't use a tool like Proxifier, that tunnels ALL traffic. With SSH tunnel I would have to tell every application to use SSH tunnel.

share|improve this question
    
Possible duplicate: stackoverflow.com/questions/4773438/… – Eir Nym Oct 24 '11 at 10:58
    
That's true but there was no solution posted. – JohnnyFromBF Oct 24 '11 at 11:25
    
Solution is same as answer below. Or do you need screenshots how to make dynamic forwarding using ssh/putty? – Eir Nym Oct 24 '11 at 11:29
up vote 1 down vote accepted

Tell Proxifier to use your SSH tunnel as an upstream SOCKS proxy:

your system <--> Proxifier <--> SSH dynamic forwarding (SOCKS) <--> VPS

To make a SOCKS tunnel through SSH, you can use its "dynamic forwarding" feature:

ssh you@your.vps.example.com -D 12345

which opens the SSH connection, and then opens a local port 12345 to operate as a SOCKS proxy, forwarding its traffic through the remote VPS (the same functionality is present in Windows SSH clients, e.g. PuTTY).

share|improve this answer
    
Can you tell me where I can change these settings in Proxifier. I have set up a ssh tunnel now, but don't know what to do in Proxifier. – JohnnyFromBF Oct 24 '11 at 11:24
    
@Ian: See the documentation: proxifier.com/documentation/v3/proxy.htm - set localhost as proxy address, 12345 as port, SOCKS as proxy type (should work with 4 or 5). – Piskvor Oct 24 '11 at 11:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .