GlobalProtect in Tunnel and Proxy Mode (Panorama)
Focus
Focus
Prisma Access

GlobalProtect in Tunnel and Proxy Mode (Panorama)

Table of Contents


GlobalProtect in Tunnel and Proxy Mode (Panorama)

Configure GlobalProtect in Tunnel and Proxy Mode.
If you convert a single-tenant Prisma Access (Managed by Panorama) deployment to multitenancy, only the first tenant (the tenant you migrated) supports this feature. Also, in this first tenant, you must set up your policy rules in the predefined Explicit_Proxy_Device_Group rather than in a custom device group. Any subsequent tenants you create for the multitenant deployment after the first do not support this feature.
  1. Enable the Agent-based Proxy functionality for mobile users.
    1. Enable explicit proxy.
      1. Select PanoramaCloud ServicesConfigurationMobile Users—Explicit Proxy.
      2. Configure the explicit proxy setup to specify an Explicit Proxy URL.
    2. Select Use GlobalProtect app to Authenticate to enable the agent-based proxy functionality, and optionally Enable Source IP based Visibility and Enforcement from Sites.
    3. Enter the PAC (Proxy Auto-Configuration) File URL. Ensure that you enter a port of 8080 in the PAC file.
      • The Proxy statement in the PAC file must use the Prisma Access FQDN you configured above.
      • The PAC file must be configured to exclude the GlobalProtect gateways (*.gp.gpcoudservice.com).
    4. Select the Connection Name for the explicit proxy setup that you configured.
    5. Select the Locations and the regions where you want to deploy your explicit proxy for mobile users.
      Prisma Access adds a proxy node into each location that you select. Explicit proxy supports a subset of all Prisma Access. For the best user experience, if you are limiting the number of locations, choose locations that are closest to your end users. If a location is not available in the country where your mobile users reside, choose a location that is closest to the mobile users.
  2. Bypass identity providers (IDPs).
    All requests to the proxy are authenticated. However, if you're passing IDP flows through the proxy, then you need to bypass them for the authentication to be successful.
    In this example, we're bypassing the GlobalProtect portal and Okta, but please customize these to the IDPs that you use.
    1. With the Explicit_Proxy_Device_Group selected, select ObjectCustom Objects URL Category and create a custom URL category.
    2. In the custom URL category, add all the FQDN domains that need to be bypassed from EP authentication.
    3. Select Cloud ServicesConfiguration Mobile UsersExplicit ProxySettingsAuthentication Settings and attach the custom URL category.
    4. Commit and push to the Explicit_Proxy_Device_Group.
  3. Configure the GlobalProtect portal.
    In Tunnel and Proxy mode, the connect method you set only applies to traffic tunneled through GlobalProtect. The agent-based proxy functionality will provide always-on internet security. Even if you set an on-demand connect method, all internet-bound traffic will still be proxied for always-on internet security even when users disconnect the GlobalProtect app.
    1. In the Onboarding section, click Configure.
    2. On the General tab, specify the Portal Name Type:
      Use Default Domain— If you select this option, your portal hostname uses the default domain name: .gpcloudservice.com. In this case, simply enter a Portal hostname to append to the default domain name. Prisma Access will automatically create the necessary certificates and publish the hostname to public DNS servers.
      Use Company Domain— Select this option if you want the domain in the portal hostname to match your company domain name (for example, myportal.mydomain.com).
    3. Select an Authentication Profile that specifies how Prisma Access should authenticate mobile users or create a new one.
    4. (Optional) Select an Authentication Override Certificate to encrypt the secure cookies that mobile users use to authenticate to the portal and gateway.
    1. Enable Tunnel and Proxy mode on GlobalProtect.
      1. Select NetworkGlobalProtect Portals.
      2. Select the portal configuration to which you are adding the agent configuration, and then select the Agent tab.
      3. On the Agenttab, select App.
      4. In the App Configurations area, set the Agent Mode for Prisma Access to Tunnel and Proxy to send internet traffic to the Prisma Access explicit proxy and private app traffic to the VPN.
    2. Perform optional configurations.
      1. (Optional) Configure the local proxy port. The port range is 1024 to 65534 and the default port is 9999. If the default port isn't available, GlobalProtect will try 10 other ports in the range of 9999 to 10009 and use the port that is available. You can also pick your own port number within the range.
      2. (Optional) Configure PAC Auto-Configuration (PAC) File URL if you want to push a custom PAC URL for the proxy settings to the endpoint. The PAC URL pushes to the endpoint once the user connects. When the user disconnects the GlobalProtect app, the endpoint proxy configurations are automatically disabled and reverting to the previous settings.
      3. (Optional) Enable Allow User to Rediscover Network if you want the user to check the portal for any new settings.
      4. (Optional) Configure GlobalProtect App Config Refresh Interval (hours). By default, the GlobalProtect client refreshes the cached portal configuration every 24 hours. You can change the refresh interval based on your business requirements.
    3. In the split tunnel configuration, exclude the proxy FQDN.
  4. Enable Always-On internet security by configuring the following settings:
    1. Set Allow User to Disable GlobalProtect to Disallow, Allow with Passcode, or Allow with Ticket.
  5. (Optional) Configure decryption policy for explicit proxy traffic.
    If you enable decryption, make sure the decryption certificate is also set up as a trusted root CA.
    1. Select DeviceCertificate ManagementCertificates and create a certificate that is a Trusted Root CA and a Forward Trust Certificate.
    2. Create a Decryption rule under Explicit_Proxy_Device Group with SSL forward proxy.
  6. Configure security policy rules for explicit proxy traffic.
  7. Configure split tunnel on Panorama.
    1. Select NetworkMobile User TemplateGatewaysGlobalProtect_ExternalGatewayAgentClient SettingsSplit .
    2. Configure the tunnel based on routes and domains.
  8. (Optional) Configure the GlobalProtect app in Tunnel and Proxy mode in a non-default route network.
    • (Optional) Host a PAC file internally and add the Prisma Access explicit proxy FQDN as a proxy in the PAC file, or host the PAC file in a Forwarding Profile and add routes in your network for PAC service IP addresses.
    • Verify that GlobalProtect portal URL and IDP URLs are being forwarded to the Prisma Access Explicit Proxy.
    • Set up routes to the explicit proxy FQDN or IP addresses on perimeter devices to allow users to access the internet via the explicit proxy.
    • (Optional) Add DNS records to resolve the Prisma Access explicit proxy FQDN to an internal IP address if users can’t resolve public domains in the branch network and add destination NAT for the internal IP address to the explicit proxy FQDN or IP address.
    • To enable users to access private apps directly when in the office:
      • Direct Access—Enable Internal Host Detection and keep the internal gateway list empty.
  9. Commit and your changes to Panorama and Commit and Push the configuration changes to Prisma Access Mobile Users and Explicit Proxy.
  10. Verify and troubleshoot the agent proxy deployment.
    1. Verify the information about your network connection on the GlobalProtect app Connections tab under Settings.
      1. Open the GlobalProtect app.
      2. Select Settings to open the GlobalProtect Settings panel, and then select Connections.
    2. View and collect the GlobalProtect logs
      View the PanGPS log to verify the proxy mode configuration on the GlobalProtect portal.
      You can verify fthat Proxy mode is configured by looking for the following event in the PanGPS log:
      OnProxyAgentMode: hybrid mode
      To view GlobalProtect logs in Panorama, select Monitor Logs and:
      • GlobalProtect, for authentication logs
      • Traffic and Decryption for user access logs
    Disconnect and Disable Tunnel and Proxy Mode with Always-On Connect Method
    Starting from GlobalProtect version 6.3.1, when you configure Tunnel and Proxy mode for the GlobalProtect app along with Always-On mode as the connect method and you want to disconnect the tunnel and proxy mode, you must perform the following steps:
    1. Disconnect the GlobalProtect app to disconnect the tunnel (VPN) connection. When you disconnect the app, the tunnel (VPN) connection gets disconnected and the app will still be connected through the proxy mode.
    2. Disable the GlobalProtect app to disconnect both the tunnel and proxy mode. When you disable the app, both the tunnel and proxy mode will be disconnected and the app will not be connected anymore.
    To disconnect and disable the GlobalProtect app configured with Tunnel and Proxy (hybrid mode) and Always-On connect method, you must:
    1. Disconnect the GlobalProtect app using the Disconnect option from the hamburger menu. When you disconnect the app, the tunnel (VPN) connection gets disconnected.
      After you disconnect the app, the VPN connection gets disconnected but the proxy mode is enabled. The app will still be connected through the proxy mode and the app displays the status as Enabled.
      If you want to reconnect the tunnel (VPN) connection, you can use the Connect option from the hamburger menu.
    2. Disable the app GlobalProtect app using the Disable option from the hamburger menu. After you disable the app, both the tunnel and proxy connection gets disconnected.
    The app will be disabled and it displays the status as Disabled.