Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running a certain desktop app (actually via AIR if it makes any difference) which doesn't have any built-in proxy configuration settings.

I need to get all traffic just from this app directed through a secure SOCKS proxy. This implies I can't use the global network preferences, as these would affect many other apps.

Is there any way to force all network communication through a given SOCKS proxy on a per-app basis?

It would also be helpful to know if there's a way to perform such routing globally, based on specific IP addresses (as this could allow for some reasonable workaround).

share|improve this question
up vote 3 down vote accepted

ProxyCap enables you to redirect your computer's network connections through proxy servers. You can tell ProxyCap which applications will connect to the Internet through a proxy and under what circumstances. This is done through a user friendly interface, without the need to reconfigure any of your Internet clients.

Key features:

  • Support for SOCKS4, SOCKS5 and HTTPS proxy servers
  • Direct support for SSH tunneling (specify a SSH server as the proxy server)
  • Support for TCP- and UDP-based network protocols
  • Proxy-side DNS support
  • Flexible routing rules
  • Support for proxy chains
  • IPv6 support
  • Support for 64-bit applications
  • Centralized management support
share|improve this answer
ProxyCap is available for OS X as well – GJ. Apr 15 '12 at 20:41

In the article Watch outside the US on Mac OS X, the author tried tsocks/dsocks/dante from macports, but none of them worked well. As this article was written in 2009, it is quite possible that these applications have since improved and may now work for you.

What the author finally found was Proxifier for Mac OS X, a native cocoa application which lets you tunnel a whole application through various kinds of proxies.

Its Proxification Rules menu has a "Process Only the Following" option, where one can add a rule for the applications you want to tunnel through the proxy (by default it'll try to socksify everything).

share|improve this answer

MacPorts has a tsocks port for using a SOCKS proxy with applications that aren't normally proxy-aware, or that can't do SOCKS. If you can launch your application from the terminal, then it may serve your needs.

share|improve this answer
Seems to me that this repeats an existing answer. – harrymc Apr 13 '12 at 18:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .