Server Fault is a question and answer site for system and network administrators. 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

For windows systems I use a program called proxifier which forces ALL network traffic over the specified SOCKS/HTTPS proxy (except for individual programs added to the exception list). It works well on my windows systems but I need to do the same thing on my linux systems. I need a program for linux that forces network traffic through the specified SOCKS proxy. Does anyone here know of a good program like this for linux?

share|improve this question

A couple of ideas:

  • tsocks - Uses LD_PRELOAD to get loaded into the address space of userland programs to intercept socket calls and forward them to a SOCKS proxy. (It looks like this project hasn't been maintained in YEARS).

  • transocks - A network layer SOCKS proxy redirector meant to run on your edge router. It intercepts outgoing TCP traffic (no UDP support) and forwards it to a SOCKS proxy. It looks like it should possible to run this on an individual host to intercept its own traffic. (This one also appears to be relatively unmaintained...)

share|improve this answer

One more: proxychains

share|improve this answer

You can use SSH also as socks proxy.

ssh -D 9999 username@ip-address-of-ssh-server

use the “-D” flag of openssh to create a SOCKS proxy.This is a tunnel to the server. Now all you have to do is set the preference in Firefox(or what ever application you are trying) to use a SOCKS proxy. The proxy is, of course, “localhost”, with the port 9999.Now when you browse, all the connections you make to websites will seem to originate from the server to which you SSH-ed. In addition, all outgoing and incoming data for the browsing session will be encrypted since it passes through the SSH connection.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.