Configuring Safari to Use a PAC File


Configuring Safari to Use a PAC File

To redirect your web traffic to the Zscaler cloud, you can configure your browser to use a Proxy Auto-Configuration (PAC) file. A PAC file is a text file that directs a browser to forward traffic to a proxy server before going to the destination server. The Zscaler service hosts a default PAC file that uses geo-location technology to forward traffic to the nearest Zscaler Enforcement Node (ZEN).

To learn more, see How do I use default PAC files to forward traffic to the Zscaler service?

The following steps describe how to configure Safari to use a PAC file. The browser version used in this example is Safari 11.0.1 (13604.3.5).

To view the default PAC file:

If you were provided a PAC file URL, skip the first two steps.

  1. Go to Administration > Hosted PAC Files.
  2. Copy the URL of the default PAC file for the Web to your clipboard.
    See image.
  3. Open Safari, open the Safari menu, then click Preferences.... The Preferences window appears.
    See image.
  4. Click Advanced. The Advanced tab appears.
    See image.
  5. Go to Proxies and click Change Settings.... The Network window appears.
    See image.
  6. Select Automatic Proxy Configuration and paste the PAC file URL that you copied in step 2. 
    See image.
  7. Click OK to save the configuration.
  8. Restart Safari to enact changes.

For more information about getting started on the Zscaler service, see the Zscaler Quick Start Guide.

Screenshot of Hosted PAC Files page highlighting the URL of the default PAC file

Screenshot of Safari preferences tab circled with an orange box. There is also an arrow pointing to preferences, with the words "Click here to open the Preferences tab" next to the arrow

Screenshot of the Safari preferences tab with the Advanced tab circled.

Screenshot of the Safari Advanced Preferences tab with the Change Settings option for proxies circled.

Screenshot of the network proxy tab with an arrow pointing to the Automatic Proxy Configuration and another arrow pointing to the URL box