Connecting directly to a GlobalProtect gateway without first connecting to the GlobalProtect portal is not a typical or recommended approach because the portal, in Palo Alto Networks' GlobalProtect infrastructure, is responsible for gateway management, including user authentication and the distribution of configuration settings to GlobalProtect clients.
When a GlobalProtect client initiates a connection, it generally connects to the portal first to retrieve a list of available gateways and then connects to the most appropriate gateway based on the criteria defined by the administrator.
However, in some configurations, a user may manually specify a gateway to connect to. This is more common in situations where there is only one gateway or when IT administrators provide users with a specific gateway address for a particular purpose.
The GlobalProtect client normally makes HTTPS requests to the portal or gateway. If you are looking to manually configure the client to connect to a gateway, you can usually do so within the client's settings by specifying the IP address or FQDN of the gateway. Explicitly connecting to the gateway without consulting the portal first would mean you bypass the portal's initial configuration step.
Here's what you should do to specify a gateway manually in the GlobalProtect client:
-
Open the GlobalProtect client on your device.
-
Go to Settings (typically represented by a gear icon).
-
Add a new connection or edit the existing one.
-
Enter the IP address or FQDN of the GlobalProtect gateway you want to directly connect to.
-
Save your changes and then try to connect.
In scenarios that require you to bypass the portal due to technical issues or configurations where the portal is not used, this manual process can be your direct connection method.
Furthermore, if you're attempting to automate or script interactions with the GlobalProtect VPN (such as automating the connect/disconnect process without using the client GUI), this typically involves interfacing with the GlobalProtect agent on your local machine (not sending HTTP requests directly to the gateway). APIs for interacting directly with the GlobalProtect service are not commonly exposed or documented for public usage.
Remember, you will still need valid credentials to authenticate with the gateway, even if you bypass the portal. Also, it's very important to note that any attempts to interact with a VPN gateway in a way not intended or authorized by your organization's IT department can lead to security risks or policy violations.
Important: Before attempting to bypass the GlobalProtect portal, check with your network administrator or IT department to clarify the correct procedure for your organization's network policies. If you are experiencing issues with GlobalProtect, your IT support team should be your first point of contact for assistance.