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

    Can relayd be configured to use source ip and port for stickiness?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 924 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.
    • J
      jwelter99
      last edited by

      We'd like to use the built in relayd to spread some users across a tomcat cluster.  The issue is many of these users come in from behind NAT devices so all users from a single location get assigned the same server regardless of source port they are coming out on.

      Ideally we'd like to see relayd able to preserve stickiness using source ip and source port as that would allow a more even spread of the load.

      We are using the 2.1 improved stickiness functionality so that we can specify a longer sticky timeout instead of using the standard state table timeout.

      Any ideas how to make this happen?

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

        Not that I'm aware of.

        HAproxy can do it by a cookie or session ID of some sort, which is probably the most flexible.

        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.