Upon initial machine boot up, pre-logon tunnel does not establish and GlobalProtect status shows as Disconnected.
18847
Created On 09/13/22 08:56 AM - Last Modified 01/28/25 21:04 PM
Symptom
Upon initial machine boot up, pre-logon tunnel does not establish and GlobalProtect status shows as Disconnected.
Environment
- Palo Alto Firewall
- PAN-OS 8.1 and above
- GlobalProtect Pre-Logon setup
- Authentication cookie
Cause
When a user turns on their client machine, they will notice that pre-logon tunnel is not connected.
- The user has to authenticate during user tunnel connection first, to generate authentication cookie.
- Two authentication cookies are generated. One for ‘user’ and other for ‘pre-logon’.
- Once authentication cookies are generated, they will notice GlobalProtect Pre-Logon will be connected for the following machine boot ups.
- Pre-Logon tunnel will stay up until the Login Lifetime timer ends.
- Until the cookie lifetime ends, the next pre-logon cookie won't be generated for the authentication; unless the user signs out of the GlobalProtect app.
- To avoid tunnel connection failure due to cookie lifetime expiration, it is recommended to use certificate based authentication
Resolution
Cookie Configuration:
- Both portal and gateway can generate and accept authentication cookie with either same or separate Cookie Lifetime timers on each.
- Portal can generate and gateway can accept authentication cookie.
- Portal can accept cookie whereas gateway can generate and accept authentication cookie with either same or separate Cookie Lifetime timers on each.
On Portal:
- Network > GlobalProtect > Portals > [portal-name] > Agent > [portal-config-name] > Authentication
On Gateway:
- Network > GlobalProtect > Gateways > [gateway-name] > Agent > Client Settings > [gateway-config-name] > Authentication Override
Login Lifetime:
- Timeout value can be configured under WebUI: Network > GlobalProtect > Gateways > [gateway-name] > Agent > Connection Settings.