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

Is it possible to route all my connections to internet to go through a sock proxy in a RHEL 4 machine. I need to connect to a remote MySql server using socks proxy.


share|improve this question

If I read it correctly, the socks proxy is already available and required to get to the right servers. About 10 years since I worked with something like this, but it is possible to preload a shared library to make all tcp connections from applications go via a socks proxy. Google gives me as a first suggestion tsocks which can work this way.

share|improve this answer

You can use ssh to build a SOCKS5 proxy for your mysql ports, or use something like squid for a complete SOCKS5 proxy solution on your RHEL4 machine.

share|improve this answer

Your Answer


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