FortiGate Integration with One-Click GSLB
GSLB seamlessly integrates with FortiGate through the use of One-Click GSLB, streamlining server connections for enhanced efficiency. This section covers the following:
-
How to check the status of the FQDN on FortiAppSec Cloud GSLB
-
How to view/edit FortiGate connector via GSLB after integration
By enabling One-Click GSLB, FortiGate synchronizes the Fully Qualified Domain Name (FQDN) configuration with Virtual IP (VIP) or Zero Trust Network Access (ZTNA) server features. This is beneficial for FortiGate customers that would like to load-balance an application across multiple data centers, based on factors such as availability or geographical location. In such cases, you can publish this application using a single FQDN on FortiAppSec Cloud using one-click GSLB. The result is a single domain with multiple unique IP addresses corresponding to the different FortiGates.
Please note that this feature is currently only available through the command line (CLI) and does not support web GUI configuration.
Packet Flow
-
The client sends a DNS query to the GSLB (www.test.com)
-
GSLB will redirect the user (based on the application Health Check) to the most available application according to the Geolocation, load, proximity, and service availability.
Configuration prerequisites
-
The account of FortiGate’s license should have a valid GSLB QPS license as well as a valid HC license.
-
To enable a connector, the account license for FortiGate must match that of GSLB.
-
This feature is supported by FortiGate version 7.4.2.
Configuration steps
-
Enable GSLB connector from FortiGate.
-
CLI:
config system global
set GSLB-integration enable
end
-
-
Configure the ZTNA/VIP policy and add the FQDN (hostname + domain) to the policy.
-
CLI:
Example VIP configuration:
Example ZTNA configuration:
-
-
The FortiGate syncs the ZTNA/VIP configuration (along with the FQDN) to the GSLB via the One-Click GSLB connector.
-
You can always edit the VIP/domain/hostname on the FortiGate, which will automatically change on the GSLB.
-
Go to Profiles > Health Check and click Create New to set up a health check for your newly added FQDN. For more information and full descriptions of each field, see Health check.
How to check the status of the FQDN on FortiAppSec Cloud GSLB
-
Login to FortiAppSec Cloud and navigate to GSLB
-
Go to Organization via the left side navigation bar, and click on the organization in which you created your FQDN.
-
Once you are in your individual organization's portal, go to GSLB Services via the left side navigation bar.
-
Click on the name of the newly created FQDN. This opens a modal window (pictured below) that displays more details regarding the FQDN.
Details for FQDN created from the VIP configuration under Configuration steps:
Details for FQDN created from ZTNA configuration underConfiguration steps:
Example of an FQDN with multiple Virtual Servers:
If your FQDN does not appear in GSLB Services on the GSLB GUI, it could be due to the External IP (ExtIP) in the VIP/ZTNA being a private IP address. In other words, this refers to an IP reserved for use within private networks and is not routable on the public internet. In such instances, consider configuring the corresponding public IP address using
config gslb-public-ipsin the CLI. -
Once your health check is set up, you can also see the status of your servers in Profiles > Health Check. For more information and full descriptions of each field, see Health check.
How to view/edit FortiGate connector via GSLB after integration
-
Navigate to Fabric Connectors and click on the relevant FortiGate involved in this process to check its status.
On this page, you have the option to edit the FQDN/IPs on the FortiGate configuration by clicking on the edit icon
on the right-hand side. To add a virtual server to a connector, click Create Member.
To learn more about all the features available on this page, please refer to Fabric connector.
How to load balance traffic based on geolocation
-
Go to Profiles > Data Center
-
Click Create New to create the data center for the connector. The default data center for One-Click GSLB is set the United States, but you can set your region to any option in the drop-down lists under Region.
-
Navigate to Fabric Connectors and click the edit icon
next to the desired connector.
In Edit Connector, open the drop-down list under Data Center and select the data center you created in the previous step.
-
Go to GSLB services, select the desired FQDN and click the edit icon
next to its virtual pool.
In Edit Pool, change the Preferred method to GEO.