Netgate is offering COVID-19 aid for pfSense software users, learn more.

Server Load Balancing Configuration Options

There are four areas of configuration for the server load balancer:

  1. Pools define collections of servers to be used, which port they use, and the monitoring method.

  2. Virtual Servers define the IP address and port for accepting user connections, and the appropriate pool to direct the incoming traffic destined to that IP address and port.

  3. Monitors are used to create custom monitoring methods to determine if pool servers are working and usable.

  4. The Settings tab contains global options that alter how the load balancer operates.

In a typical example, there is a Virtual Server to accept user connections, and it contains several servers in a Pool. The Pool utilizes a Monitor for each server to determine if it is capable of accepting user connections.

A Virtual Server can have a regular and a Fall Back Pool to use if all members of the regular Virtual Server Pool are down. This can be leveraged to present a maintenance or outage page, for example.