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

    Accessing HTTPS site with Load Balancing

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 4 Posters 1.5k 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.
    • R
      Ramotalana
      last edited by

      Hi There

      I might be posting this is in the wrong forum….

      I am very very new to PF sense(and networking) and I am still figuring it out...

      I have a 1 LAN multiple WAN setup that was done in my office. Load balancing through both WANS via Round Robin.

      Some of my users have a problem with accessing a specific Bank site.

      I contacted the Bank and they told me that it is because of load balancing. They asked me to route traffic to a specific subnet on only one IP address. How do I set a rule on PF sense that all traffic going to a specific subnet should go through WAN1 only and should not go through WAN2?

      Thanx

      1 Reply Last reply Reply Quote 0
      • M
        Metu69salemi
        last edited by

        Try with sticky connections first to have some automatic failover (System: Advanced: Miscellaneous: Load Balancing)

        1 Reply Last reply Reply Quote 0
        • C
          costasppc
          last edited by

          You can create an Alias for the subnet and then a LAN rule with destination the subnet and gateway one of your WANs.

          However, there aw several sites that this trick will not work, I do not know why. I have tried with sticky connections, failover groups instead of load balancing or the method above, but no luck.

          I need one answer to this myself as well.

          Best regards

          Kostas

          1 Reply Last reply Reply Quote 0
          • D
            dhatz
            last edited by

            @costasppc:

            However, there aw several sites that this trick will not work, I do not know why. I have tried with sticky connections, failover groups instead of load balancing or the method above, but no luck.

            With fail-over it should work, I can't think of a reason why it wouldn't.

            Which sites have you had trouble with?

            1 Reply Last reply Reply Quote 0
            • C
              costasppc
              last edited by

              Thank you.

              I do not want to hijack this thread, though.

              There is a site for ecommerce tat we buy computer parts, which works with partner accounts. While logged in, we get kicked out, and they told us that it happens because the wan ip has changed. It should not be happening right? I check the Firewall logs when we access this URL, and pfsense uses the rules we created for this specific URL.
              How can we check if it it changing WANs?

              Bet regards

              Kostas

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