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



  • 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?


  • Rebel Alliance Developer Netgate

    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.


Log in to reply