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.

Are there any Windows applications that can connect to a remote OpenVPN server then act like a SOCKS 5 server in the local environment?

EDIT: which means

  • a local server
  • speaks VPN/OpenVPN protocol, bind to a port as socks proxy server
  • extract and run, can be installed without administrator/root privilege
  • without the need to setup a TUN/TAP devices or other virtual interfaces
  • leave route table clean.
share|improve this question
1  
I want to do the exact same thing. I don't want to use openVPN for every connection, but only for some application. Which supports SOCKS5. –  Shiki Dec 10 '11 at 10:39
add comment

3 Answers

What you want to do is enable shell access on the OpenVPN server (or any computer on the openVPN network, really) and create a shell account for your proxy.

Use ssh -D 127.0.0.1:8080 username on the commandline of your client system where `username is the name of the proxy shell account you created, and 8080 is the SOCKS5 port you wish to use on the local machine. ssh should be installed by default on Macs/Linux/BSD or easy to install if it's not, and for windows you can use PuTTY or Cygwin's ssh to set up a tunnel. I know this doesn't answer the question, but it would be the quickest way to achieve what you want assuming you can get shell access to a computer over the OpenVPN network.

The other way would be to find a SOCKS5 server which allows you to specify the bind address for outgoing connections.

share|improve this answer
    
Maybe the proper question is: Which openvpn client software could conveniently create a "Host-only Networking just like vmware" so that i can use it as a socks5 proxy? For example: my pc ip is 192.168.0.2 and 192.168.10.1, the connected openvpn client ip in its network is also 192.168.0.2, but i want to use it as 192.168.10.2 –  diyism Dec 21 '11 at 3:42
    
...Ah. Just to make sure I'm understanding this correct, your computer is *.0.2, and there's another computer over OpenVPN that is also *.0.2 that you'd like to access? –  Darth Android Dec 21 '11 at 4:52
    
no, my pc is 192.168.0.2 and 192.168.10.1 without openvpn client connected, and the openvpn client in this pc may get 192.168.0.2 ip from the remote openvpn server, so i want to make the virtual network of openvpn client is host-only network(eg. don't influence the local network), and it has a NAT ip 192.168.10.2 for host(my pc) to access it. –  diyism Dec 21 '11 at 5:12
    
I think you'll find this question to be closer to what you're looking for; while it has no useful answers yet, it'd be better to work on this problem there rather than the comments here. –  Darth Android Dec 21 '11 at 18:17
    
Thanks to Darth, i have moved these comment into there –  diyism Dec 23 '11 at 4:10
show 1 more comment

Try using hamachi software. https://secure.logmein.com/products/hamachi2/

if you want to surf internet try http://bestfreevpn.com/

share|improve this answer
add comment

If you want turn socks into VPN: https://code.google.com/p/badvpn/

if you want turn VPN into socks, maybe: http://lxc.sourceforge.net/

A VPN client is just like a virtual network card, so turning a VPN client into socks server equates to create a socks server over a specific network card.

share|improve this answer
    
are you a bot?? –  est Jun 9 '13 at 14:42
add comment

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.