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

Proxy RDP-Connection, no RDP_COOKIE available?

$
0
0

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 5s

tcp-request content accept
default_backend gw

backend 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

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



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