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

    Sticky Connections?

    Scheduled Pinned Locked Moved Traffic Shaping
    3 Posts 2 Posters 2.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.
    • D
      davertron
      last edited by

      I understand the motivation behind the "Sticky Connections" feature for MultiWAN setups, but I'm wondering about the implementation itself: does this mean that generally, for any given machine, it will always use the same WAN connection?  Or is it on a connection-to-connection basis?  The reason I ask is, I'm currently using load balancing on pfSense 1.2, and I have a specific rule set for my machine only (for testing purposes) to use the load balancing.  However, when I run traceroute, I see that I'm only ever using one of the WAN connections.  Is traceroute a viable test to check that load balancing is working?  I see in the load balancer status that both WAN connections are online, and I can set either gateway from those connections and the traffic will go out either way, but whenever I use the load balancing "gateway" it seems that I only ever go out one WAN connection.

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

        connection-to-connection basis but it doesn't really work as one could wish in 1.2 you'll get frozen pages.
        Disable sticky connection and test on sites like http://ipnr.dk/ where your ip should change every time you refresh the page.

        /Perry
        doc.pfsense.org

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

          Awesome, thanks Perry.  It seems to flip back and forth every now and then now :)

          In this case, since I'm not using sticky connections, I need to set up policy-based routing for certain types of connections, right?  Like ssh, https (443), etc?

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