is it any easy way to route all traffic through a ssh proxy with -D?
I can configure individual specific applications to do this, but I would like a configuration that routes all the traffic on the machine. Thanks for your help!
|
is it any easy way to route all traffic through a ssh proxy with -D? I can configure individual specific applications to do this, but I would like a configuration that routes all the traffic on the machine. Thanks for your help!
| |||
feedback
|
|
In Linux:
I have written such program for private usage in Perl (prototype quality) and writing a better version in C. It is not yet published. Update: now published: http://github.com/vi/socksredirect/ Use prototype.pl. Send me some notice if you interested in development of better version. Update 2 Created a bit better version of it: http://github.com/vi/tcpsocks and a patch for Socat 2: http://github.com/vi/socksredirect/blob/master/socat-2.0.0-b3-REDIRECT.patch P.S. Most of my (and sometimes some of neighbours') traffic now goes through the tcpsocks->ssh. | |||||||||||
feedback
|
|
Avery Pennarun's sshuttle works similar to Vi's answer, but requires less setup and works on BSD and OS X as well as Linux. | |||
|
feedback
|
|
Maybe you should considering setting up VPN instead. | |||||
feedback
|
|
I don't think there's any way to do this, but maybe you can try programs like FreeCap(windows), SocksCap(windows) or proxychains(linux). These programs may help you a little bit. | |||
|
feedback
|
|
Depends which OS you are using. If you are on MacOS there are global Proxy settings which should be used by every Application, even though there are some who don't honor them (Firefox ie). | |||
feedback
|
|
You could also use something like Proxifier(http://www.proxifier.com/) for both Mac or Windows. Though this doesn't really answer you question. | |||
|
feedback
|