PAC file in Server

  • 18 September 2023
  • 1 reply
  • 90 views

Userlevel 2
Badge +8

Hi team,

There is one use case of server where they required a PAC file to be configured in there servers to connect the netskope dataplane can you let me know any configuration or pre-requisites is required to server connect with Netskope Dataplane Also please let me know the use cases of static server which required internet.


1 reply

Userlevel 1
Badge +12

Hi @farhan , I have added the PAC file template below. You can also refer this page for more information on Explicit Proxies.

function FindProxyForURL(url, host) { /* Normalize the URL for pattern matching */ url = url.toLowerCase(); host = host.toLowerCase(); /* Don't proxy local hostnames */ if (isPlainHostName(host)) { return 'DIRECT'; } /* Don't proxy IDP servers. */ /* if ((dnsDomainIs(host, '.okta.com')) { return 'DIRECT' } */ /* Don't proxy for domains. */ /* if ((dnsDomainIs(host, '.domain-example1.com')) || (dnsDomainIs(host, '.domain-example2.com'))) { return 'DIRECT' } */ if (url.substring(0, 5) === 'http:' || url.substring(0, 6) === 'https:') { return 'PROXY eproxy-<tenant-name>.goskope.com:8081'; } return 'DIRECT'; }

 

Reply