Share internet connection through proxy

0

I want to share my internet connection on Windows 7 machine, but I want it to go through proxy (socks5) which I've setup using SSH tunneling.

I can work with it on my local machine, setting it in Fx network options, but I want it to be shared like that, through proxy.

There's no option of setting it like this on other machines.

David

Posted 2010-08-07T12:12:33.560

Reputation: 155

Answers

1

Your SSH client should let you configure the local bound address for the port forward. It will usually be set to localhost (127.0.0.1), which restricts usage to the local machine. Let it bind all interfaces instead (try an empty value, or 0.0.0.0) to make it reacheable from other machines.

Then you just need to setup the correct address for the clients on other machines.

EDIT: Ok, misunderstood the question. By "there's no option of setting it like this on other machines", you mean you are not in position of changing settings on other machines.

Under linux, there is an iptables extension that can redirect random tcp traffic to a SOCKS proxy, crafted to preserve original destination information:

http://darkk.net.ru/redsocks/

I have no idea if the equivalent exists for Windows 7. However, if it is possible for you, you could install a Linux virtual machine on your Win7 host, install redsocks on the VM, and then use Win7 routing to redirect traffic to the VM. The VM will translate it to SOCKS connections, and you'll have to route these trough the outside world

b0fh

Posted 2010-08-07T12:12:33.560

Reputation: 2 005

ty. well, I can't (and don't want to) set proxies on other machines. It'll be shared other wireless network, and I can't tell which or how many other machines will connect... – David – 2010-08-19T06:47:54.897

1one of the equivalents on Windows is ProxyCap – prusswan – 2012-03-04T09:40:34.620