Deploying Web Browser proxy settings
This article details the options available for configuring web browsers for use with USS Gateway.
Manual Configuration of proxy settings
All modern web browsers support web proxies and the settings can usually be found in the Options menu. Examples are given in this section for the most popular web browsers.
Internet Explorer & Edge
Both Internet Explorer and Edge obtain proxy settings from system-wide Internet Options section of Windows Control Panel.
- Open the Windows Control Panel.
- Click Internet Options.
- Select the Connections tab.
- Click LAN Settings.
- Click Advanced.
- In the HTTP and Secure proxy address fields type the fully qualified domain name (FQDN) of the USS Gateway server, e.g.
ussgateway.ad2012.local
. This was determined when configuring Active Directory authentication. If you do not require Active Directory authentication, then the server IP address may be used instead. - Enter the port as
8080
. - In the Exceptions field, enter both the
FQDN
and the IP address of the USS Gateway server. - Click OK and restart the web browser.
Google Chrome
Follow the steps for Internet Explorer and Edge.
Mozilla Firefox
- Start Firefox and open the Tools menu.
- Click Options.
- Click Advanced tab.
- Click Network tab.
- Click Settings.
- In the HTTP Proxy and SSL Proxy address fields type the fully qualified domain name (FQDN) of the USS Gateway server, e.g.
ussgateway.ad2012.local
. This was determined when configuring Active Directory authentication. If you do not require Active Directory authentication, then the server IP address may be used instead. - Enter the port as
8080
. - In the No Proxy For field, enter both the FQDN and the IP address of the USS Gateway server.
- Click OK and restart the web browser.
Group Policy Configuration
If you have an Active Directory domain environment you can use Group Policy to configure Internet Options (used by Internet Explorer, Chrome and Edge) automatically. Apart from ease of deployment, the other main advantage to using Group Policy is that the settings can be locked to make them tamper-proof.
Windows Server 2012
- Open the Group Policy object to edit.
- Navigate to User Configuration ⟶ Preferences ⟶ Control Panel Settings.
- Right-click on Internet Settings and select New / Internet Explorer 10 option.
- Edit the proxy settings to use the USS Gateway FQDN and port number as shown in the Manual Browser Configuration section, below.
- Push the changes out to your users.
gpupdate /force
for the proxy settings to take effect.Web Proxy Auto Discovery (WPAD)
The Web Proxy Auto Discovery protocol (WPAD) method is used by web browsers to locate a proxy on the network and configure it automatically using an auto-configuration file (.pac
) file. This is a third-party protocol and there are many resources on the Internet assist with configuration and troubleshooting.
Create the proxy.pac file
The Deploy section of the USS Gateway Local Settings allows you to publish a proxy.pac
automatically based on the USS Gateway configuration.
If you want to edit or alter the published proxy.pac
file, follow these steps:
- Log in to the command line using the Command Line and type
sudo su
to become root. - Copy the automatically generated
proxy.pac
file to a new name so that your changes are not overwritten:cp /var/www/proxy.pac /var/www/myproxy.pac
myproxy.pac
as the filename in the next step.- Type:
nano /var/www/myproxy.pac
to open a command line text editor. - Make your desired changes. Please see a full list of available functions here.
- Save the file by holding down Ctrl+X and then press Y and then Enter.
Configure DHCP to issue the proxy.pac file
See Deploying via DHCP.
Enforcing Proxy Settings
It is important to ensure that network users cannot easily circumvent the proxy settings. There are a number of options available to you:
- Use Group Policy Objects to lock down web browser proxy settings to avoid tampering
- Create a rule on your corporate firewall to block access to port
80
and443
from networked devices unless the request originates from the USS Gateway IP address. This will prevent any browser from working unless it is configured to use the proxy correctly. - Consider using the Captive Portal as an alternative authentication method.
If the above options are not possible, consider using USS Agent for Windows as an alternative.