Mixed Internal and External Gateway Configuration
In a GlobalProtect mixed internal and external gateway configuration, you can configure separate gateways for VPN access and for access to your sensitive internal resources. With this configuration, the GlobalProtect app performs internal host detection to determine if it is on the internal or external network. If the app determines that it is on the external network, it attempts to connect to the external gateways listed in its client configuration, and then it establishes a connection to the gateway with the highest priority and shortest response time.
If you configure all external gateways as manual-only gateways but the GlobalProtect connect method as
User-Logon (Always On)or
Pre-Logon (Always On), the GlobalProtect app does not automatically connect to any external gateways. GlobalProtect remains in the
Not Connectedstate until the external user establishes a gateway connection manually. This behavior enables you to deploy GlobalProtect to derive User-ID for internal users while supporting
On-DemandVPN behavior for external users.
Because security policies are defined separately on each gateway, you have granular control over the resources to which your external and internal users have access. In addition, you also have granular control over the gateways to which users have access by configuring the portal to deploy different client configurations based on user/group membership or HIP profile matching.
In this example, the portals and all three gateways (one external and two internal) are deployed on separate firewalls. The external gateway at gpvpn.acme.com provides remote VPN access to the corporate network, while the internal gateways provide granular access to sensitive datacenter resources based on group membership. In addition, HIP checks are used to ensure that hosts accessing the datacenter are up-to-date on security patches.
Use the following steps to configure a mix of internal and external GlobalProtect gateways.
- In this configuration, you must set up interfaces on the firewall hosting a portal and each firewall hosting a gateway.Do not attach an interface management profile that allows HTTP, HTTPS, Telnet, or SSH on the interface where you have configured a GlobalProtect portal or gateway because this enables access to your management interface from the Internet. Follow the Best Practices for Securing Administrative Access to ensure that you are securing administrative access to your firewalls in a way that will prevent successful attacks.Use thedefaultvirtual router for all interface configurations to avoid having to create inter-zone routing.On the firewall hosting the portal gateway (gp.acme.com):
On the firewall hosting the external gateway (gpvpn.acme.com):
- Selectand configureNetworkInterfacesEthernetethernet1/2as a Layer 3 Ethernet interface with IP address198.51.100.42. Assign it to thel3-untrustSecurity Zoneand the defaultVirtual Router.
- Create a DNS “A” record that maps IP address 198.51.100.42 to gp.acme.com.
- SelectandNetworkInterfacesTunnelAddthetunnel.2interface. Assign it to a newSecurity Zonecalledcorp-vpnand the defaultVirtual Router.
- Enable User Identification on the corp-vpn zone.
On the firewall hosting the internal gateways (california.acme.com and newyork.acme.com):
- Selectand configureNetworkInterfacesEthernetethernet1/5as a Layer 3 Ethernet interface with IP address192.0.2.4. Assign it to thel3-untrustSecurity Zoneand the defaultVirtual Router.
- Create a DNS “A” record that maps IP address 192.0.2.4 to gpvpn.acme.com.
- SelectandNetworkInterfacesTunnelAddthetunnel.3interface. Assign it to a newSecurity Zonecalledcorp-vpnand the defaultVirtual Router.
- Enable User Identification on the corp-vpn zone.
- Selectand configure a Layer 3 Ethernet interface with IP addresses on the internal network. Assign them to theNetworkInterfacesEthernetl3-trustSecurity Zoneand the defaultVirtual Router.
- Create a DNS “A” record that maps the internal IP addresses california.acme.com and newyork.acme.com.
- Enable User Identification on the l3-trust zone.
- Purchase and install a GlobalProtect subscription for each firewall hosting a gateway (internal and external) if your end users will be using the GlobalProtect app on their mobile endpoints or if you plan on using HIP-enabled security policy.After you purchase the GlobalProtect subscriptions and receive your activation code, install the GlobalProtect subscriptions on the firewalls hosting your gateways:
- SelectActivate feature using authorization code.
- When prompted, enter theAuthorization Codeand then clickOK.
- Verify that the license and subscriptions were successfully activated.
- Obtain server certificates for the GlobalProtect portal and each GlobalProtect gateway.In order to connect to the portal for the first time, the endpoints must trust the root CA certificate used to issue the portal server certificate.You can use self-signed certificates on the gateways and deploy the root CA certificate to the apps in the client configuration. The best practice is to generate all of the certificates on firewall hosting the portal and deploy them to the gateways.The recommended workflow is as follows:
- On the firewall hosting the portal:
- On each firewall hosting an internal gateway:
- Define how you authenticate users to the portal and gateways.You can use any combination of certificate profiles and/or authentication profiles to ensure the security of your portal and gateways. Portals and individual gateways can also use different authentication schemes. See the following sections for step-by-step instructions:You must then reference the certificate profile and/or authentication profiles that you defined in your portal and gateway configurations.
- Create the HIP profiles you will need to enforce security policy on gateway access.
- Create the HIP objects to filter the raw host data collected by the app. For example, if you are interested in preventing users that are not up to date with required patches, you might create a HIP object to match on whether the patch management software is installed and that all patches with a given severity are up to date.
- For example, if you want to ensure that only Windows endpoints with up-to-date patches can access your internal applications, you might attach the following HIP profile to match hosts that do NOT have a missing patch:
- Configure the internal gateways.SelectandNetworkGlobalProtectGatewaysAddgateway configurations with the following settings:
Notice that it is not necessary to configure the client configuration settings in the gateway configurations (unless you want to set up HIP notifications) because tunnel connections are not required. See Configure a GlobalProtect Gateway for step-by-step instructions on creating the gateway configurations.
- IP Address
- Server Certificate
- Authentication Profileand/orConfiguration Profile
- Configure the GlobalProtect Portals.Although this example shows how to create a single client configuration to be deployed to all apps, you could also create separate configurations for different uses and then deploy them based on user/group name and/or the endpoint operating system on which the app is running.SelectandNetworkGlobalProtectPortalsAddthe following portal configuration:
- Interface—ethernet1/2IP Address—10.31.34.13Server Certificate—GP-server-cert.pem issued by GoDaddywithCN=gp.acme.com
- Internal Host Detection—enabledUse single sign-on—enabledConnect Method—User-logon (Always On)External Gateway Address—gpvpn.acme.comInternal Gateway Address—california.acme.com, newyork.acme.comUser/User Group—any
- Committhe portal configuration.
- Create security policy rules on each gateway to safely enable access to applications for your VPN users.
- Create security policies () to enable traffic flow between the corp-vpn zone and the l3-trust zone.PoliciesSecurity
- Create HIP-enabled and user/group-based policy rules to enable granular access to your internal datacenter resources.
- For visibility, create rules that allow all users web-browsing access to the l3-untrust zone using the default security profiles to protect you from known threats.
- Save the GlobalProtect configuration.Commityour portal and gateway configurations.