Hello,
I am new to HAProxy and the Linux world. I would like to use HAProxy to route RDP connections. The routing should be based on the RDP cookie. But first, it should basically work. It is no problem to accept the connection and simply forward it. This configuration work, but RDP_COOKIE is always empty.
frontend rdp443
bind *:443
mode tcp
tcp-request inspect-delay 5stcp-request content accept
default_backend gwbackend gw
mode tcp
server tsplus 192.168.100.10:443
No matter what I do, RDP_COOKIE is always empty. This causes the connection to be interrupted.
tcp-request content reject if !RDP_COOKIE
No cookie.
tcp-request content set-var(txn.cnt) req.rdp_cookie_cnt
log-format “RDP %ci:%cp cookie=%[var(txn.cnt)]”
I checked with Wireshark, and the client sends the cookie.
I asked the AI, and it says that Ubuntu 24.04 has HAProxy without an RDP parser in its repository. Is that possible?
I am at a loss.
1 post - 1 participant