Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

Thanks.

share|improve this question

2 Answers 2

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

 
discard

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