NGFW supports load balancing for various services within the local network. Load balancing can be provided for:
-
Internal servers published to the Internet (DNAT)
-
Unpublished internal servers
-
Traffic forwarded to an external ICAP servers (server farm)
-
Traffic to servers published using a reverse proxy.
The load balancer distributes the incoming requests at the virtual server's IP address between the IP addresses of the real servers using various balancing methods. To configure load balancing, go to the Network policies ➜ Load balancing section and create balancing rules.
To create a balancing rule for TCP/IP servers, select Add TCP/IP load balancer and provide these settings:
Name |
Description |
---|---|
Enabled |
Enables or disables the rule. |
Name |
The name of the balancing rule. |
Description |
A description of the balancing rule. |
Virtual server IP address |
Select one of the IP addresses assigned to network interfaces. If necessary, the administrator can assign additional IP addresses to the desired interface. |
Port |
The port for which load balancing is to be performed. |
Protocol |
The protocol (TCP or UDP) for which load balancing is to be performed. |
Scheduler |
There are four possible scheduler types that determine how load is distributed between the real servers:
|
Real servers |
Add a pool of real servers between which the traffic will be distributed. For each of the servers, provide these settings:
Important! Since the load balancer does not change packets headers in the Gateway mode, the reverse traffic from the real server needs to be set up via routing. It means that the gateway address for the reverse traffic must be different from the NGFW address.
|
Fallback |
The fallback mode is used when none of the real servers is available. To activate fallback, enable it and provide these settings:
|
Monitoring |
You can use monitoring to configure health checking for real servers. If a real server has failed a check, it is excluded from load balancing. |
Aggregation mode |
Real server monitoring mode. The available options are:
|
Check interval |
The time interval for the periodic health check. |
Check timeout |
The timeout for the response to a check. |
Max failures |
The number of failed health check attempts after which a real server will be considered unhealthy and excluded from load balancing. |
An ICAP load balancer allows load distribution between external ICAP servers or server farm, such as an external antimalware server farm. This balancer can then be used in ICAP rules. To create an ICAP load balancer, select Add ICAP load balancer and provide these settings:
Name |
Description |
---|---|
Enabled |
Enables or disables the rule. |
Name |
The name of the balancing rule. |
Description |
A description of the balancing rule. |
ICAP profiles |
Select ICAP profiles for the servers between which the load will be distributed. For more details on working with ICAP servers, see the Working with External ICAP Servers section. |
A reverse proxy load balancer allows load distribution on the internal servers or server farm published using reverse proxy rules. This balancer can then be used in reverse proxy rules. To create a reverse proxy load balancer, select Add reverse proxy load balancer and provide these settings:
Name |
Description |
---|---|
Enabled |
Enables or disables the rule. |
Name |
The name of the balancing rule. |
Description |
A description of the balancing rule. |
Reverse proxy profiles |
Select the reverse proxy profiles for the servers between which the load will be distributed. For more details on publishing resources using reverse proxy rules, see the HTTP/HTTPS Resource Publishing Using Reverse Proxy chapter. |