Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

HAPRoxy + RDP Windows 2012R2 Servers

$
0
0

@afcelie wrote:

Hello,

I am trying to setup a HAProxy Server for multiple RDP Servers on 1 Ip-Adres.
I am using CENTOS 7.4.x (latest version and up to date).
I have 4 servers which needs to be accessed, but every time it connects to one of the server and not for instance the latest server I was connected on, my config file is listed below:

haproxy.cfg
listen RDP
bind 0.0.0.0:3389
balance rdp-cookie
maxconn 256
mode tcp
balance roundrobin
stick store-request src
stick-table type ip size 200k expire 30m
balance leastconn
tcp-request inspect-delay 5s
tcp-request content accept if RDP_COOKIE
persist rdp-cookie
option tcpka
timeout connect 500000ms
timeout check 50000ms
timeout client 500000ms
timeout server 500000ms
grace 50000ms
stick-table type string size 204800 expire 10m
stick on rdp_cookie(mstshash)
default-server inter 3s rise 2 fall 3
server server-01 10.10.10.7:3389 check fall 3 rise 5 inter 2000 weight 10
server server-02 10.10.10.8:3389 check fall 3 rise 5 inter 2000 weight 10
server server-01 10.10.10.6:3389 check fall 3 rise 5 inter 2000 weight 10
server server-02 10.10.10.9:3389 check fall 3 rise 5 inter 2000 weight 10
option redispatch

Can someone tell me what is wrong?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>