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

I need to integrate with a SOAP Web Service that requires that the requests come from a whitelisted IP address.

As I often do development from all over the place it is quite annoying to ask for a new whitelisted IP each time.

I have a remote server that is whitelisted. How can I route my SOAP request (I can change the endpoint in the WSDL) to my remote machine and have that forwarded to the Web Service?

My remote server is used for other things so it needs to only forward a specific port, not all traffic.

Oh, and the Web Service expects SSL.

share|improve this question
up vote 0 down vote accepted

I ended up installing tinyproxy on the whitelisted machine

sudo apt-get install tinyproxy

Then I added my computer's external IP address to the config at /etc/tinyproxy.conf as only local host was allowed to proxy by default.

Finally, I set the PHP SOAP client to point to the proxy:

$client = new SoapClient("some.wsdl", array('proxy_host' => "", 'proxy_port' => 7676));

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.