HAProxy and RDP
-
Hi, i´am new to HA Proxy (3 days expirence...)
I have pfsense on my netgate hardware with HA Proxy (newsest Version/Patch)
I would like to use for example
rdp1.mydomain.de connect to 172.30.30.101
rdp2.mydomain.de to 172.30.30.102
rdp3.mydomain.de to 172.30.30.103
I could only use Type=http/ https(offloading) to get more then one backend in a case rule
But then RDP does not work anymore.
When I switch to Type=tcp rdp works but i can´t use the rule "hosts matches" or "host contains"
is there any way to get this working ?
Thanks, marco -
@mpatzwah said in HAProxy and RDP:
I would like to use for example
rdp1.mydomain.de connect to 172.30.30.101
rdp2.mydomain.de to 172.30.30.102
rdp3.mydomain.de to 172.30.30.103I guess, all these host names are mapped to a single public IP. Then how do you think, they could be differed in the RDP protocol?
When I switch to Type=tcp rdp works but i can´t use the rule "hosts matches" or "host contains"
Yeah. The host... ACLs target to the host header, which is part of HTTP. Hence it is only available in an HTTP frontend, which is capable to read the header information.
is there any way to get this working ?
You shouldn't do a naked RDP connection over the internet anyway.
So consider to set up a VPN server and go over the VPN, so there is no need use a single IP for multiple RDP servers.