Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Load Balancing 2 web servers

    Scheduled Pinned Locked Moved Routing and Multi WAN
    loadbalance
    2 Posts 1 Posters 909 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      ssanders76
      last edited by ssanders76

      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?

      S 1 Reply Last reply Reply Quote 0
      • S
        ssanders76 @ssanders76
        last edited by

        @ssanders76

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.