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!
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
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.
Maybe you should considering setting up VPN instead.
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.
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).
You could also use something like Proxifier(http://www.proxifier.com/) for both Mac or Windows.
Though this doesn't really answer you question.