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

    Dual WAN Configuration – Second WAN not working properly

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    6 Posts 4 Posters 2.0k 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.
    • H
      Hayes119
      last edited by

      I'm running 2.0 RC1 and am having an issue with a second gateway not working correctly. I've been testing this for a couple of hours and can't really determine specifically what/where the problem is. When I configure the firewall to route traffic to the LoadBalance gateway group, certain websites either don't load at all or load only partially. I found a good website to test this at is speedtest.net; in IE8, the website loads all of the page content, but as soon as the flash application loads, the website disappears and instead a message stating that the page can't be displayed appears. In Opera, the page just never finishes loading.

      In testing, I first tested each gateway separately instead of using the gateway group. WAN1 worked correctly, always displaying the website. WAN2 experienced the same issue both inside and outside of the gateway group. I then tested the gateway of WAN2 directly by connecting a computer to it (temporarily disconnecting the pfSense box) using the same configuration information as what pfSense was using. In this configuration, the website successfully loaded. Upon reconnecting the pfSense box to the gateway, I attempted the same tests I performed earlier, but this time selecting the gateway for WAN2 as the default gateway. I encountered the same results (page not loading).

      I have a bit of a strange network layout due to space/hardware limitations here, but my layout is as follows: I have two modems (one cable, one DSL), each connected to a single switch (the cable modem is connected such as modem->router->switch). The pfSense box currently has each interface (WAN1, WAN2, LAN) connected to this switch as well. Each modem/router is operating over the same physical network, but different subnets. Could the problem be related to the physical configuration?

      Does anyone have any ideas as to what/where the problem might be?

      Thanks,
      Chris

      1 Reply Last reply Reply Quote 0
      • G
        Gilrod
        last edited by

        We appear to have the exact same problem as you…

        Any luck with it?

        1 Reply Last reply Reply Quote 0
        • N
          Nachtfalke
          last edited by

          For me it works fine since many weeks.

          You have to remember, that not all ports can do LoadBalancing properly. Therefore I created an Alias with all the ports I know they could not do loadbalancing properly.

          Then you need to create two gateway groups and two firewall rules.

          And if you do not like to configure this all, just use "Sticke connections".

          NoLoadBalance.jpg
          NoLoadBalance.jpg_thumb
          Failover.jpg
          Failover.jpg_thumb
          Firewall.jpg
          Firewall.jpg_thumb
          Sticky.jpg
          Sticky.jpg_thumb

          1 Reply Last reply Reply Quote 0
          • H
            Hayes119
            last edited by

            It seems that most of the time after having pfSense update to the latest release, the load balancing appears to work properly for a handful of minutes (less than 5) and then continues to malfunction.

            I already have firewall rules in place to route certain traffic over only one connection, but as far as I can tell the problem I'm having isn't related to the load balancing. WAN2 runs extremely slow (or not at all) even if I disconnect/disable the WAN1 connection (and modify the firewall rules accordingly).

            1 Reply Last reply Reply Quote 0
            • E
              egarnel
              last edited by

              Is the sticky for outbound wan load balancing as well?  The description sounds more like it is for hosted websites behind a pfsense box

              1 Reply Last reply Reply Quote 0
              • N
                Nachtfalke
                last edited by

                @egarnel:

                Is the sticky for outbound wan load balancing as well?  The description sounds more like it is for hosted websites behind a pfsense box

                As far as I know it is ONLY for outbound.

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