Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HAProxy and RDP

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 639 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mpatzwah
      last edited by

      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

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @mpatzwah
        last edited by

        @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.103

        I 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.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.