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...
- Browse to Services | Load Balancer.
- Click the Monitor tab.
- Click the "plus" button to add a new monitor.
- Specify a Name.
- Add a Description.
- Set Type to HTTP.
- 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.