Configuring a web server load balancer

This recipe describes how to configure a small webfarm using the pfSense load balancer.

Getting ready

The load balancer allows pfSense to distribute certain types of traffic to multiple machines. A common use of this feature is to distribute incoming HTTP requests to multiple webservers and the following recipe describes how the load balancer can create a webfarm to accomplish this.

How to do it...

  1. Browse to Services | Load Balancer.
  2. Click the Monitor tab.
  3. Click the "plus" button to add a new monitor.
  4. Specify a Name.
  5. Add a Description.
  6. Set Type to HTTP.
  7. Set Host to an unused IP address that you will later use as the IP address for the virtual server. The virtual server will be configured to pass requests to the actual ...

Get pfSense 2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.