Home
Adding a local network PAC file for Websense
Forcepoint (PAC) Friday, 04 December 2015 by paul

1. Create a Forward Lookup Zone for "webdefence.global.blackspider.com" on your internal DNS server.

2. Add a DNS address record, as above, pointing to the IP address of an internal web server where you are going to host the PAC file.

3. Add a web site to your internal web server which serves pages for host header "webdefence.global.blackspider.com".

4. Download the PAC file from "http://webdefence.global.blackspider.com:8082/proxy.pac?p=xxxxxxxx".

5. Modify the PAC file, if required, and then upload the PAC file to your new internal web site's root folder.

6. Edit site (example in IIS 7) and add a binding for port 8082 and hostname name "webdefence.global.blackspider.com".

7. Add a MIME Type to the site for ".pac" files - mime type should be "application/x-ns-proxy-autoconfig".

8. Restart the web site.

9. Restart your web browser and it should download the PAC file from your internal webserver if your primary DNS is set to your internal DNS server.

Also when your machine is not connected to your internal network it will use another DNS server so will then download the PAC file directly from Websense's servers.


Add Comment
Friday, 04 December 2015 by Rohit Andani
HiPaul, Thanks for this article . I have IIS server setup for internal pac file and bind with http://proxypac/proxy.pac and now I got another URL from Websense http://webdefence.global.blackspider.com:8082/proxy.pac?p=xxxxxxxx. I have created local DNS entry to resolve webdefence.global.blackspider.com to resolve on local pac server same as proxypac but problem is it's not redirecting to the http://webdefence.global.blackspider.com:8082/proxy.pac?p=xxxxxxxx until or unless we will not define the IIS site under it . I have created the site but it's not taking the characters like ? = so I modify the site accordingly and setup pac URL like http://webdefence.global.blackspider.com:8082/proxy.pac/pxxxxxxxx.pac but it's not resolving my problem . Is there any possibility to guide me for it ?