Skip to content

GlobalProtect

This client connects to a GlobalProtect gateway using a password-based login and an SSL IP tunnel, optionally attempting ESP/UDP. It is not a replacement for the full enterprise-managed GlobalProtect application.

  1. A gateway hostname (not a portal discovery URL with an additional path).
  2. Username and password accepted by that gateway.
  3. Optional enterprise CA PEM certificate; optional device/computer name.
  4. Whether to try ESP/UDP with use_esp (SSL remains the fallback).

The following is a template, not a working server account. Replace every hostname, address, key and credential with values from your server operator. The typed chain format is for the current backend; normally use Destinations → Nodes instead of pasting JSON into the Web UI.

{
"id": "example-node",
"name": "GlobalProtect example",
"origin": "manual",
"group": "examples",
"enabled": true,
"chain": [
{
"type": "globalprotect",
"globalprotect": {
"gateway": "vpn.example.com",
"username": "EXAMPLE_USER",
"password": "REPLACE_ME",
"use_esp": false
}
}
]
}
  • No portal discovery, SAML/SSO, interactive MFA, HIP report, client certificate login, or negotiated IPv6.
  • A gateway enforcing HIP or interactive login can reject the client even when credentials are correct.
  • Pushed DNS, access/exclusion routes, and LAN policies are not applied to host networking.
  • The backend can expose active gateway details; it does not log in just to show that information.
  1. Verify you were given a gateway, not just the portal URL.
  2. If login asks for SAML, SSO, OTP challenges, or HIP, the required feature may be unsupported.
  3. If use_esp is enabled but UDP is unavailable, inspect active transport (ssl versus esp) before blaming DNS.
  4. If login succeeds but a specific corporate host fails, inspect Yuhaiin’s own DNS and routing; server-provided policy is not automatically installed.

Check the outbound node tutorial and network diagnostics. For exact fields, behavior and test coverage see the backend source. Avoid sharing saved credentials or full node exports in public support requests.

The current client talks directly to a gateway, not a portal. It authenticates using username/password, requests gateway configuration, then establishes an SSL tunnel. The optional use_esp flag asks the client to try ESP over UDP; SSL remains a supported fallback.

The active gateway’s extra information may report data_transport as ssl or esp. Treat this as runtime information: setting use_esp: true does not guarantee the network or gateway negotiated an ESP data path.

Advanced: what the gateway provides but Yuhaiin does not apply

Section titled “Advanced: what the gateway provides but Yuhaiin does not apply”

A connected gateway may expose assigned addresses, DNS servers, routes or LAN policy. The current outbound does not install these as host-wide routes, replace Yuhaiin resolver roles, or enforce gateway-provided split-tunnel policy. If an intranet website fails after successful login, compare:

  1. Was a route targeting the GlobalProtect node actually applied?
  2. Is the corporate hostname resolved with the correct resolver?
  3. Is the target address reachable through the tunnel?
  4. Does the gateway enforce HIP, SAML/SSO or client certificates that this client does not implement?

The current GlobalProtect implementation README explicitly labels this outbound experimental. Mock gateway tests and OpenConnect-inspired compatibility tests are useful protocol evidence, not proof of interoperability with every PAN-OS gateway. Do not promise enterprise VPN replacement without testing the actual authorized gateway.

Reconnect is not a transparent socket migration

Section titled “Reconnect is not a transparent socket migration”

Established SSL sessions may be replaced when their lifetime expires, when keepalive/DPD fails, or when the gateway drops transport. Automatic reconnect may require a fresh login and will stop on rejected or interactive authentication. If a login is rejected, correct the credentials or required authentication flow before retrying; repeated connection attempts will not resolve a missing SSO/HIP feature.