The client and server proxy.pac files are merged into one file called "instantproxy.pac" which then gets saved to the browser during the VPN session.
If Split Tunneling is enabled then the merged pac file will contain rules so that the server-side pac file is applied to the tunneled traffic and the rules in the client-side pac file are applied for the traffic that needs to bypass the tunnel. The instantproxy.pac file will look something like this:
function FindClientProxy(url, host)
{
Content of client side pac file
}
function FindServerProxy(url, host)
{
content of server side pac file
}
function FindProxyForURL(url, host) {
if (shExpMatch(host, "PCS IP")) {
return "DIRECT";
}
else if (isInNet(host, "split tunnel include routes")) à this condition is based on split tunneling include routes { return FindServerProxy(url, host); } else { return FindClientProxy(url, host); }} If Split Tunneling is disabled and all traffic is being tunneled then the client-side PAC file is not used. In this case, the instantproxy.pac file stored in the browser for the VPN session will be formatted as follows:
function FindServerProxy(url, host)
{ content of server side pac file}
function FindProxyForURL(url, host) {
if (shExpMatch(host, "PCS IP")) {
return "DIRECT";
} else
{return FindServerProxy(url, host);} }