Most recent edit on 2008-04-01 16:11:11 by AnilGarg
Additions:
1) enter a monitoring IP (this is applicable if you selected gateway instead of server above). for incoming loadbalancing it most likely will be the server IP adress (pfSense will check this IP for availability and exclude the server IP for the pool until it's available again
Deletions:
1) enter a monitoring IP. for incoming loadbalancing it most likely will be the server IP adress (pfSense will check this IP for availability and exclude the server IP for the pool until it's available again
Edited on 2008-03-28 06:18:15 by ScottLambert
Additions:
Categories
CategoryHowTo
Oldest known version of this page was edited on 2007-08-18 23:26:25 by ChrisBuechler []
Page view:
Incoming Load Balancing mini-howto
Setup the pools
- vist services -> load balancer
- delete any pools that are there that do not work
- add a new pool and call it balancetolan or something descriptive
- set the description to load balancing from wan -> lan web servers or something descriptive
- set the type to server
- set the port to 80 if you wish to load balance web servers
- in the ip box type in the 1st web server ip, click add to pool. note: this will be the private nat address!
- enter a monitoring IP. for incoming loadbalancing it most likely will be the server IP adress (pfSense will check this IP for availability and exclude the server IP for the pool until it's available again
- set your type of monitoring (icmp or tcp)
- repeat for the second web server
- repeat for the third web server....etc
- click save
Setup the virtual servers
- visit services -> load balancer -> virtual servers
- delete any virtual servers that you created before that do not work
- set the name to Load balance WAN -> LAN/OPT or something descriptive
- set the description to Load balance web servers on LAN/OPT or something descriptive
- set the ip address note, this will be the external IP (can be carp, etc)
- set the port to 80 if you wish to load balance http
- set virtual server pool to the one you just created
- click submit
- Add a firewall rule to permit the traffic
- make sure dns is pointed to public wan balancer ip
Your load balancer is ready. Eat your heart out commercial goo.
Terms
- Monitor IP: The IP address that the pool will ensure that there is connectivity. When pfSense cannot ping this IP it will consider the pool being down.