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

    HAProxy + Remote Desktop Gateway

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 1.3k 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
      Mister.Deeds
      last edited by

      Hello together

      I am trying to put a Remote Desktop Gateway behind a HAproxy. Background is, I have one domain with one IP address but two remote desktop environments. The address of the first gateway is rdg.example.com and the second is rdg.vdi.example.com. Directly enabled (via NAT port TCP 443 and UDP 3391) the RDP connection works without problems.

      Now I have created a HAproxy setting. This is as follows:
      1.PNG

      2.PNG

      2.1.PNG

      I have also created the NAT forwarding for UDP

      3.PNG

      and the firewall rules

      4.PNG

      On the remote gateway server I have adjusted the UDP port.

      5.PNG

      as well as a valid certificate deposited

      6.PNG

      It seems to find the Remote Desktop Gateway,

      7.JPG

      but after entering the password the following message appears

      8.JPG

      I have already tried according to this post https://forum.opnsense.org/index.php?PHPSESSID=rtue2j51iviglar7ugte756698&topic=18429.msg83772#msg83772 to deny http request with "remoteDesktopGateway" but without success.

      does anyone have any ideas?

      Thank you very much and best regards

      B 1 Reply Last reply Reply Quote 0
      • B
        ballistic @Mister.Deeds
        last edited by ballistic

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