Using the PACGen utility with Sophos

  • Article ID: 115858
  • Updated: 13 Feb 2014

Sophos allows hosting of a proxy.pac/wpad.dat script. This script can be used to automatically instruct browsers when they should use a proxy and what proxy to use.

UTM does not automatically create or assist with creating this script, which is where the PACGen utility was created.

Requirements

PACGen.exe requires Microsoft .net Framework 3.5 to be installed.

The utility has three input fields. Proxy IP:PORT, Local Networks, and URL Exeptions. A script will be generated based on the values entered in these fields.
PACGen will make some guesses about what values may be valid, based on what it observes from the network settings of the host it is run on.


Proxy IP:PORT

Enter the address and optionally the port where the proxy may be reached. If preferred, a hostname may be entered instead of an IP address.
If no port is specified, then port 8080 is assumed.

Local Networks

The PAC script checks the client IP address, and if it is within one of the specified local networks, then the connection will be proxied.
This allows mobile devices to roam outside of local networks, without proxy settings becoming invalid. Enter network ranges in the single line text field, then hit enter to add them to the list below. Double click entries in the list, to remove or edit them. Network ranges should be entered in x.x.x.x/x subnet format.

URL Exceptions

Address patterns listed in the URL exceptions field will not be proxy. This is useful to avoid proxying connections to DMZ or internal sites.
Enter address patterns in the single line text field, then hit enter to add them to the list below. double click entries in the list, to remove or edit them. Only the domain portion of urls should be entered as address patterns. wildcards are supported.  For instance, enter as *mydomain.com*, to allow all mydomain.com urls to be allowed. Do not enter HTTPS:// or other url prefixes.

Download

The PACGen utility can be downloaded here: PacGen

Disclaimer

This utility is not created, nor supported by Sophos.  It has been tested, and is believed to be safe, an to work as described above.

If any problems are discovered in this application's operation, please contact the application's author. This contact information
can be found in the About menu within the application.

 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments