Load Balancing 2 web servers



  • OK have read the PDF on pfsense about load balancing. I want to load balance 2 windows IIS servers. The PDF make is sounds possible, but I can't seem to get it working.

    I setup a 3 virtual machines, 2 with IIS on windows server. The last machine was a pfsense with 2 nic.

    The WAN is set to 10.0.0.0/24
    pfsense gateway 10.0.0.97
    IIS load balanced IP 10.0.0.16

    The LAN is set to 192.168.1.0/24
    pfsense gateway 192.168.1.1
    IIS1 windows 192.168.1.100
    IIS2 windows 192.168.1.101

    status > Load Balancer > Pools
    show both IP 192.168.1.100 and 192.168.1.101 at 100%.

    status > Load Balancer > virtual servers
    show status "active" for address 10.0.0.16

    But when I go to that 10.0.0.16 address I get connection refused.

    I added the firewall rule...
    IPv4 TCP source* port* list_of_IIS_servers 80 (HTTP) gateway* queue none schedule""

    list_of_IIS_servers -> 192.168.1.100 and 192.168.1.101

    Some of the google stuff I read talked about some type of gateway but did not give an example of how to do it.

    Any suggestion on what I should try next?



  • @ssanders76

    I got it working you need to add a virtual IP address (IP Alias) of 10.0.0.16/24 on the WAN.