Bypassing Internal IP for Proxy setting

Hi,


Does anyone know who to set the iPad to bypass proxy for any internal IP address? I.e Intranet sites should not need to go through our proxy server

iPad

Posted on Sep 27, 2012 1:12 AM

Reply
1 reply

Sep 27, 2012 2:07 AM in response to PingMe

You can use the Auto proxy option to do this, but you will have to host a proxy.pac file on a suitable web server on your network that you can point the URL to. This approach has the advantage that you can specifiy different proxies for different domains if necessary, as well as to connect directly for one or more local domains.


Example code based on our setup:


function FindProxyForURL(url, host)

{

if (isPlainHostName(host))

return "DIRECT";

else if (shExpMatch(host, "*.domain1*"))

return "DIRECT";

else if (shExpMatch(host, "*.domain2.*"))

return "DIRECT";

else if (shExpMatch(host, "*.domain3*"))

return "DIRECT";

else

return "PROXY InternetProxy:8080";

}

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Bypassing Internal IP for Proxy setting

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.