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

    Multiple wan : specific URL must use specific WAN

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 3 Posters 1.9k 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.
    • K
      krisken
      last edited by

      My bank seems to create a sessionID when i want to do internetbanking and includes my IP in it.  So when i use the loadbalancer, i got an IP of WAN1 and at an other click of the mouse WAN2.

      How can i set pfsense so that every traffic to the site of my bank (www.dexia.be) have to use WAN1 or WAN2 only?

      Kris

      1 Reply Last reply Reply Quote 0
      • P
        Perry
        last edited by

        Create a failover pool for https traffic.

        /Perry
        doc.pfsense.org

        1 Reply Last reply Reply Quote 0
        • K
          krisken
          last edited by

          @Perry:

          Create a failover pool for https traffic.

          How do i have to do that?  I've tried a time with sticky connections, but that seems to be broken or something.  It did work for time, but now i do have the same troubles.

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

            See this:  http://doc.pfsense.org/index.php/Multi-WAN_Version_1.2.x#Setting_up_Load_Balancing_pools

            Now, there are 2 failovers listed.  Choose one based on whether you want the traffic to try going out WAN1 first or WAN2 first.

            Under the firewall rules, you need to select:

            Source:  LAN Subnet; Port:  ANY
            Destination:  ANY; Port:  HTTPS
            Gateway:  WAN1FailsToWAN2 (Choose depending on which WAN you want to use first)

            Place this rule at the top (2.0 quick-match rule) or right at the bottom (2.0 floating rule)

            Right at the bottom of the same page, you'll find a pictorial example:
            http://doc.pfsense.org/index.php/Multi-WAN_Version_1.2.x#Further_Rules_for_handling_outgoing_traffic

            1 Reply Last reply Reply Quote 0
            • K
              krisken
              last edited by

              @dreamslacker:

              See this:  http://doc.pfsense.org/index.php/Multi-WAN_Version_1.2.x#Setting_up_Load_Balancing_pools

              Now, there are 2 failovers listed.  Choose one based on whether you want the traffic to try going out WAN1 first or WAN2 first.

              Under the firewall rules, you need to select:

              Source:  LAN Subnet; Port:  ANY
              Destination:  ANY; Port:  HTTPS
              Gateway:  WAN1FailsToWAN2 (Choose depending on which WAN you want to use first)

              Place this rule at the top (2.0 quick-match rule) or right at the bottom (2.0 floating rule)

              Right at the bottom of the same page, you'll find a pictorial example:
              http://doc.pfsense.org/index.php/Multi-WAN_Version_1.2.x#Further_Rules_for_handling_outgoing_traffic

              I've did that.  I'll let you know if it works or not!

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