Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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. –  Ian 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

1 Answer 1

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. –  Ian 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.