OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] HAProxy + Remote Desktop Gateway
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] HAProxy + Remote Desktop Gateway  (Read 13699 times)

browne

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
[SOLVED] HAProxy + Remote Desktop Gateway
« on: September 16, 2020, 11:01:01 am »
Hello,

I already set up HAProxy as a reverse proxy on port 443 with ACME for some web servers, Exchange, ....

Right now I am struggeling with adding our remote desktop gateway server.
https://www.haproxy.com/documentation/haproxy/deployment-guides/remote-desktop/rdp-gateway/
I want to use the "SSL bridging mode" in order to get rid off the certificate errrors.

If I understand everything there correctly I will need a seperate frontend for the RDP gateway because of some special settings and of course on another port than 443. Sadly I failed with just copying the given config as I didn't figure out where to set all the options.

Is there someone who has already set up haproxy with a remote desktop gateway server and would be so kind to share his config?

(Sorry for double posting this here and in the "Web Proxy Filtering and Caching" sub forum. But I thought more people would read it here.)

Best regards
browne
« Last Edit: September 23, 2020, 11:58:29 am by browne »
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: HAProxy + Remote Desktop Gateway
« Reply #1 on: September 16, 2020, 01:41:32 pm »
Did you search the forums? I already posted the answer some time ago, it needs an ACL to deny a specific URI to work. Just search the forums :)
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

browne

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
Re: HAProxy + Remote Desktop Gateway
« Reply #2 on: September 21, 2020, 03:06:08 pm »
Thank you very much!
I already saw your post in that other thread, but couldn't believe it had to do with my problem.

Could you please explain to me: Why do I have to use this rule and what exactly it does?

browne
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: HAProxy + Remote Desktop Gateway
« Reply #3 on: September 21, 2020, 03:40:39 pm »
I have no idea, but I guess when this URI is accessible it tries something which is not supported and with this the connection might be "downgraded" or similar.
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

browne

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
Re: [SOLVED] HAProxy + Remote Desktop Gateway
« Reply #4 on: September 23, 2020, 12:02:34 pm »
We tracked it down to some NTLM issues on the RDP Gateway...
https://support.microsoft.com/en-us/help/2903333/terminal-services-client-connection-error-0xc000035b-when-you-use-lmco

Anyway it is working perfectly fine now!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] HAProxy + Remote Desktop Gateway
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2