O'Reilly logo

pfSense 2 Cookbook by Matt Williamson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required