Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 setting up my website and have gotten to where I need to make calls to external servers. To hide my server's backend (private) IP address I'll use a SOCKS5 proxy set up on a DDoS protected server to do so. I got a Ubuntu box to do so.

I'm looking for a good proxy server that would do this.

Also - I have a few external IPs, and one private IP. The proxy server should accept requests incoming only on that private IP, and based on the username/password I use to authenticate, select the associated external IP.


share|improve this question
Why don't you forget a SOCKS5 proxy, or any proxy. Your web application probably can't make requests via a proxy server anyway (e.g. PHP is incapable of this). Use a VPN instead. – Michael Hampton May 8 '13 at 0:08
Is the outgoing proxy within the normal network path? Can you simply setup Squid in Interception mode, and skip the SOCKS stuff? – Zoredache May 8 '13 at 0:19
@MichaelHampton PHP is capable of it: [code]curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);[/code] – Jesse W May 8 '13 at 2:07
That's not core PHP, it's curl, and you may or may not have access to it depending on the environment. So don't count on it. The VPN is still the best approach since it doesn't require any changes to the web application. – Michael Hampton May 8 '13 at 2:08
We have a dedi server and custom written software. How would a VPN work with PHP though? That seems like an interesting option. @Zoredache It's not. The proxy has to be quite well DDoS protected - I am anticipating attacks. – Jesse W May 8 '13 at 2:10

Your Answer


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

Browse other questions tagged or ask your own question.