Allow users to have multiple rdp sessions?

Testing haproxy as a load balancing tool to our 4 2008 R2 terminal servers.

It’s working ok except that I can’t work out how to let staff have more than one simultaneous rdp session. At present if they start a second rdp session from a different device haproxy always connects them to their existing session. I can understand why this is happening as the hash is seeing the user name but I’d like users to be allowed 2 different rdp server sessions simultaneously.

Does anyone know how to acheive this with ha proxy?

Many thanks,

Greg.

Can you post your haproxy.cfg file ?

global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin
stats timeout 30s
user haproxy
group haproxy
daemon
maxconn 40000
ulimit-n 81001

# Default SSL material locations
ca-base /etc/ssl/certs
crt-base /etc/ssl/private

# Default ciphers to use on SSL-enabled listening sockets.
# For more information, see ciphers(1SSL). This list is from:
#  https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/
ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
ssl-default-bind-options no-sslv3

defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000
timeout client 50000000
timeout server 50000000
stats enable
stats uri /
stats hide-version
option httpclose
frontend F1
bind 10.99.122.100:3389
maxconn 40000
default_backend B1
mode tcp
option tcplog
backend B1
mode tcp
option tcpka
balance leastconn
tcp-request inspect-delay 5s
tcp-request content accept if RDP_COOKIE
persist rdp-cookie
stick-table type string size 204800 expire 1d
stick on rdp_cookie(mstshash)
clitimeout 2h
option tcplog
server SCULTS9 10.99.122.4:3389 weight 1 check port 3389 inter 2000 rise 2 fall 3 minconn 0 maxconn o on-marked-down shutdown-sessions
server SCULTS10 10.99.122.6:3389 weight 1 check port 3389 inter 2000 rise 2 fall 3 minconn 0 maxconn o on-marked-down shutdown-sessions
server SCULTS11 10.99.122.8:3389 weight 1 check port 3389 inter 2000 rise 2 fall 3 minconn 0 maxconn o on-marked-down shutdown-sessions
server SCULTS12 10.99.122.10:3389 weight 1 check port 3389 inter 2000 rise 2 fall 3 minconn 0 maxconn o on-marked-down shutdown-sessions
option redispatch
option abortonclose
persist rdp-cookie
#balance rdp-cookie

   listen stats
     bind 10.99.122.100:8181
     stats enable
     stats uri /
     stats realm Haproxy\ Statistics
     stats auth username:password

errorfile 400 /etc/haproxy/errors/400.http
errorfile 403 /etc/haproxy/errors/403.http
errorfile 408 /etc/haproxy/errors/408.http
errorfile 500 /etc/haproxy/errors/500.http
errorfile 502 /etc/haproxy/errors/502.http
errorfile 503 /etc/haproxy/errors/503.http
errorfile 504 /etc/haproxy/errors/504.http