PFSenseDevWiki : IncomingLoadBalancing

PfSenseDevHome :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
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

  1. vist services -> load balancer
  2. delete any pools that are there that do not work
  3. add a new pool and call it balancetolan or something descriptive
  4. set the description to load balancing from wan -> lan web servers or something descriptive
  5. set the type to server
  6. set the port to 80 if you wish to load balance web servers
  7. in the ip box type in the 1st web server ip, click add to pool. note: this will be the private nat address!
  8. 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
  9. set your type of monitoring (icmp or tcp)
  10. repeat for the second web server
  11. repeat for the third web server....etc
  12. click save

Setup the virtual servers

  1. visit services -> load balancer -> virtual servers
  2. delete any virtual servers that you created before that do not work
  3. set the name to Load balance WAN -> LAN/OPT or something descriptive
  4. set the description to Load balance web servers on LAN/OPT or something descriptive
  5. set the ip address note, this will be the external IP (can be carp, etc)
  6. set the port to 80 if you wish to load balance http
  7. set virtual server pool to the one you just created
  8. click submit
  9. Add a firewall rule to permit the traffic
  10. make sure dns is pointed to public wan balancer ip

Your load balancer is ready. Eat your heart out commercial goo.

Terms

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.3
Page was generated in 0.0747 seconds