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

    Load balancing and upload

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 1.6k 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.
    • E
      Eudiphon
      last edited by

      I'm a bit new to the PFsense forums, and not the most experienced with multi-wan, so excuse me if this question is a bit new.  (I wasn't able to find a definitive answer to this anywhere).

      I'm trying to setup load balancing, or will be, on my PFsense router in the near future. However, I had  a question regarding how the balancing would work.

      Right now I have a server that resides behind pfsense.  Most incoming connections will likely be on one of the WANs.  Now, when I load balance these WAN connections PFsense can obviously accept connections coming inward from either WAN.  However, if PFsense gets a request from WAN1 to connect to the server, can it then establish the connection to WAN2 and reply from WAN2 instead of using WAN1?

      My concern is that, with the load balancing, if a connection comes in on WAN1 that pfsense will have to reply and establish connection (and upload) from WAN1 – and essentially my WAN2 upload will go unused since all connections will be likely incoming from WAN1.  (The reason for this is because I have dynamic DNS setup for WAN1 at the moment since my IP changes, although rarely.)  This would essentially make the second WAN near useless, since my motivation for getting a second line would be to increase the upload speed.

      My gut feeling says that I'm correct in thinking that incoming connections on WAN1 will be replied to on WAN1, and the connection could not be moved over to WAN2 through the load balancer ... However, I just don't have the experience and knowledge of Multi-WAN + TCP/IP routing to know this for sure.

      Any help would be greatly appreciated.  Thanks a bunch :)

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        You are correct, the connection cannot be moved over to the other WAN in that way.

        If it comes in WAN1, it will go back out WAN1.

        Unless your server is capable of telling the client to redirect itself over to the IP of WAN2 and reconnect, but that doesn't really involve changing anything on pfSense.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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