Comments on How To Use pfSense To Load Balance Your Web Servers
How To Use pfSense To Load Balance Your Web Servers In this HowTo I will show you how to configure pfSense 2.0 as a load balancer for your web servers. This HowTo assumes that you already have a pfSense box and at least 2 Apache servers installed and running on your network, and that you have some pfSense knowledge.
8 Comment(s)
Comments
Nice post Kyle, thank you for the help. I think this part may be incorrect though:
"Just a note if any of the servers don't reply with a 200 OK status (pfSense sends requests to your web servers periodically to determine if they are running) the server pool will be taken offline."
In my experience, and according to the note on the page "Services: Load Balancer: Virtual Server: Edit", all of the servers have to reply with something other than a 200 OK in order for the server pool to be taken offline, not just one.
Cheers,
Don
Thanks for that, i worded the How to Wrong, i will fix it up
Are firewall policies auto-created for the VIP?
I have competed the steps as listed above to no avail.
Here is my setup:
listening IP (Monitor):
192.168.1.40
server IPs (Pools):
192.168.1.50
192.168.1.51
192.168.1.52
Hi
Can we Load balance servers difference locations (WAN IP)? Will be any issues of performance?
Cheers,
Tat G
hi i want ask some thing please i want to make fair use in my network i use pfsense server but i dont know i f pfsense can limited for examel 2 giga for download for every client if pfsense can please told me How I Can Do that ??????
I have tried, and it hasn't worked. I am not sure pfSense is ready for prime-time. It should be a simple setup, but I can only hit my web-server without going through pfSense, despite my core pointing to it for the VIP range (which I can ping), and the pfServer having routes to whereever (it can ping from the console). Hell, I also have problems installing packages - one bad install blows away everything installed. Likewise, I can only get OpenBGPd to eBGP peer with one device - the second, with an identical config (analogously), returns to 'Idle.' That could be an issue with the Cisco device, though ... I'm uncertain.
pfsense is a very stable and awesome product. Treat it properly and learn how to use it and you'll never have any issues you can fix quickly. I create image backups every month using filezilla so I have a quick drive I can revert to. Also, don't forget you can simply backup the config. I backup the config prior to any changes then if you have any problems you simply revert back to the older, working config. Simple. Also note, that many times you can simply re-install a package and it'll continue working just like before.