Web Proxy
Table of Contents
11.0
Expand all | Collapse all
Web Proxy
If your network uses a proxy device, learn how to configure
a web proxy as either an explicit proxy or a transparent proxy to
route authentication traffic.
If your network uses a proxy device for security,
you can now leverage the same level of protection using the on-premises
web proxy capability with PAN-OS 11.0. The web proxy features enables additional
options for migrating from an existing web proxy architecture to
a simple unified management console. Using the web proxy feature
with Prisma Access provides
a seamless method for migrating, deploying, and maintaining secure
web gateway (SWG) configurations from an easy to use and simplified
interface. Web proxy helps during the transition from on-premises
to the cloud with no loss to security or efficiency.
The
web proxy supports two methods for routing traffic:
- For the explicit proxy method, the request contains the destination IP address of the configured proxy and the client browser sends requests to the proxy directly. You can use one of following methods to authenticate users with the explicit proxy:
- Kerberos, which requires a web proxy license.
- SAML 2.0, which requires Panorama, a Prisma Access license, the Cloud Services 3.2.1 plugin (and later versions), and the add-on web proxy license.
- Cloud Identity Engine, which requires Panorama, a Prisma Access license, the Cloud Services 3.2.1 plugin (and later versions), and the add-on web proxy license.
- For the transparent proxy method, the request contains the destination IP address of the web server and the proxy transparently intercepts the client request (either by being in-line or by traffic steering). There is no client configuration and Panorama is optional. Transparent proxy requires a loopback interface, User-ID configuration in the proxy zone, and specific Destination NAT (DNAT) rules. Transparent proxy does not support X-Authenticated Users (XAU) or Web Cache Communications Protocol (WCCP).
The
following platforms support web proxy:
- PA-1400
- PA-3400
- VM Series (with a minimum of four vCPUs)
- Panorama using PAN-OS 11.0
- Cloud services plugin 3.2.1 (and later versions) for Explicit Proxy using SAML authentication
Web proxy supports
IPv4.
- Configure Explicit ProxyThe explicit proxy method allows you to troubleshoot issues more easily, since the client browser is aware of the existence of the proxy.
- If you have not already done so, activate the license for web proxy.You must activate the web proxy license for the PA-1400 Series, PA-3400 Series, and VM-Series. Learn how to activate your subscription licenses for the PA-1400 Series and PA-3400 Series or activate the web proxy license for the VM-Series in the following step.
- Log in to the Customer Service Portal (CSP).
- Editthe deployment profile.
- SelectWeb Proxy (Promotional Offer).
- ClickUpdate Deployment Profile.
- On the firewall, retrieve the license keys from the server.If the license key retrieval is not successful, restart the firewall and repeat this step before proceeding.
- Set up the necessary interfaces and zones.As a best practice, use Layer 3 (L3) for the three interfaces the web proxy uses and configure a separate zone for each interface within the same virtual routers and the same virtual systems.
- Configure an interface for the client traffic.Be sure to carefully copy the IP address for this interface and save it in a secure location because you must enter it as theProxy IPaddress when you configure the web proxy.
- Configure an interface for the outgoing traffic to the internet.
- Configure a loopback interface for the proxy.All incoming traffic is routed through this interface to the proxy.
- Set up the DNS proxy for Explicit Proxy.
- Configure a DNS proxy object for the proxy connection.
- Configure a DNS Server profile with both primary and secondary DNS servers.You must configure both a primary and a secondary DNS server for web proxy.
- To enable decryption for MITM detection, create a self-signed root CA certificate or import a certificate signed by your enterprise certificate authority (CA). For more information, refer to the best practices for administrative access.
- Ensure you have completed the pre-deployment steps for the authentication method you want to configure. Select only one of the following authentication methods.
- If you have a DNS security subscription, integrate the web proxy firewall with Explicit Proxy to sinkhole any requests that match the DNS security categories that you specify.
- Select.PanoramaCloud ServicesConfigurationOn-Prem Proxy
- Editthe settings then select theDevice Groupyou want the web proxy firewall to use orAdda new device group.To integrate the web proxy firewall with Prisma Access, you must configure the web proxy firewall in a separate device group that contains no other firewalls or virtual systems. If the firewall is already a member of a device group, create a child device group as a sub-group and move the firewall to the child device group.
- (Optional) SelectBlock SettingstoAddaBlocked Domainor any domains that areExempted Domainsbecause they are sinkholed due to matching one or more of the DNS Security categories.
- (Optional) Select whether you want toLog any requests made to blocked domains.
- ClickOK.
- Set up the Explicit Proxy.
- On the firewall, selectthenNetworkProxyEdittheProxy Enablementsettings.
- SelectExplicit Proxyas theProxy Typethen clickOKto confirm the changes.If the only available option is None, verify that you have an active license for the web proxy feature.
- EdittheExplicit Proxy Configuration.
- Specify theConnect Timeoutto define (in seconds) how long the proxy waits for a response from the web server. If there is no response after the specified amount of time has elapsed, the proxy closes the connection.
- Select theListening Interfacethat contains the firewall where you want to enable the web proxy.Specify the ingress interface for the client traffic.
- Select theUpstream Interfacethat contains the interface with the web proxy that reroutes the traffic to the server.If you are using a loopback interface, specify that interface as theUpstream Interface.
- Specify the IP address of the listening interface as theProxy IP.Enter the IP address of the interface you created in Step 2.a.
- Specify theDNS Proxyobject you created in Step 3.a.
- SelectCheck domain in CONNECT & SNI are the sameto prevent domain fronting attacks by specifying different domains between the CONNECT request and the Server Name Indication (SNI) field in the HTTP header.
- Select theAuthentication service typeyou want to use (eitherSAML/CASorKerberos Single Sign On).Be sure to complete all necessary pre-deployment and configuration steps for the authentication method you select. Select only one of the following authentication methods:
- ClickOKto confirm the changes
- Configure the necessary security policy rules to decrypt traffic and reroute applicable traffic to the proxy.You will need to create the following types of rules:
- Source NAT (if applicable)
- Decryption
- Security
- Configure a decryption policy to decrypt the traffic so it can be rerouted if necessary.To avoid decrypting traffic twice, select the zone that contains the upstream interface as the source zone for the decryption policy.
- (Optional but recommended) Selectand selectObjectsDecryption ProfileBlock sessions on SNI mismatch with Server Certificate (SAN/CN)to automatically deny any sessions where the Server Name Indication (SNI) does not match the server certificate.
- Configure the necessary security policy rules.
- Create a security policy rule to allow traffic from the client to the interface you selected as the listening interface.
- Configure a security policy rule to allow traffic from the zone that contains the upstream interface to the internet.
- Configure a security policy rule to allow traffic from the DNS proxy zone to the internet.
- Configure a security policy rule using the authentication profile you configured in Step 5 to route traffic to the proxy as appropriate.
- Configure Transparent ProxyWith transparent proxy, the client browser is not aware of the proxy. Transparent proxy supports inline mode deployment and does not support web cache communication protocol (WCCP). Transparent proxy is transparent to the user without requiring additional authentication.
- If you have not already done so, activate the license for web proxy.This step is required for the PA-1400, PA-3400, and VM Series. The following steps are for the VM series; for the PA-1400 and PA-3400, follow the steps to activate subscription licenses.
- Log in to the Customer Service Portal (CSP).
- Editthe deployment profile.
- SelectWeb Proxy (Promotional Offer).
- ClickUpdate Deployment Profile.
- On the firewall, retrieve the license keys from the server.If the license key retrieval is not successful, restart the firewall and repeat this step before proceeding.
- Set up zones and interfaces.As a best practice, use Layer 3 (L3) for all interfaces and configure a separate zone for each interface within the same virtual routers and the same virtual systems.
- Configure an interface for the client.
- Configure an interface for the outgoing traffic to the internet.
- Configure a loopback interface for the proxy.All incoming traffic is routed through this interface to the proxy. Be sure to carefully copy the IP address for this interface and save it in a secure location because you must enter it as theProxy IPaddress when you configure the web proxy.
- Set up the DNS proxy for Transparent Proxy.
- Configure a DNS proxy object for the proxy connection.
- Configure a DNS Server profile with both primary and secondary DNS servers.You must configure both a primary and a secondary DNS server for web proxy.
- Specify the loopback interface for the proxy connection.
- To enable decryption for MITM detection, create a self-signed root CA certificate or import a certificate signed by your enterprise certificate authority (CA). For more information, refer to the best practices for administrative access.
- Set up the Transparent Proxy.
- On the firewall, selectthenNetworkProxyEdittheProxy Enablementsettings.
- SelectTransparent Proxyas theProxy Typethen clickOKto confirm the changes.If the only available option is None, verify that you have an active license for the web proxy feature.
- EdittheTransparent Proxy Configuration.
- Specify theConnect Timeoutto define (in seconds) how long the proxy waits for a TCP response from the web server. If there is no response after the specified amount of time has elapsed, the proxy closes the connection.
- Select theUpstream Interface.The upstream interface must be a loopback interface that is not associated with any other subnets.
- Specify the IP address of the loopback interface as theProxy IP.Enter the IP address of the interface you configured in Step 2.3.
- Specify theDNS Proxyobject you created in Step 3.Specify the loopback interface as theUpstream Interface.
- ClickOKto confirm the changes.
- Configure the destination network address translation (DNAT) policy.You must configure the DNAT policy rule exactly as described in the following steps for the firewall to successfully use the web proxy to route traffic. Be sure to configure the DNAT policy rule so that it precedes the source network address translation (SNAT) policy rule.
- Enter a uniqueNameand verify thatGroup Rules by TagisNonethen select theNAT Type.
- SelectOriginal PacketandAdda trusted zone as theSource Zoneand theDestination Zoneas the interface that contains the web proxy.
- SelectTranslated Packetand verify thatTranslation TypeforSource Address TranslationisNone.
- SelectDynamic IP (with session distribution)as theTranslation Typefor theDestination Address Translation.
- Enter the IP address of the web proxy as theTranslated Address.Enter the same IP address as the Proxy IP address specified in Step 2.3 and Step 5.6.
- Enter8080as theTranslated Port.
- Select aSession Distribution Method(for example,Round Robin).The session distribution method is not applicable for web proxy.
- ClickOKandCommitthe changes.
- Configure a security policy to allow and route the proxy traffic.
- Configure a source network address translation (SNAT) policy rule after the DNAT rule.
- Configure a decryption policy to decrypt traffic.Select the zone that contains the proxy interface as the source zone.
- (Optional but recommended) Selectand selectObjectsDecryption ProfileBlock sessions on SNI mismatch with Server Certificate (SAN/CN)to automatically deny any sessions where the Server Name Indication (SNI) does not match the server certificate.
- Configure policy rules to allow access to the DNS proxy servers for both the client and the proxy.
- Configure a policy rule to allow traffic from the client to the proxy.
- Configure a policy rule to allow traffic from the proxy to the internet.