This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Running Remote Desktop Gateway using WAF?

Hi!

I'm trying to migrate from UTM to XG and I can't get my Remote Desktop Gateway working.

In my network, I've got a Win2012R2 server which hosts the RDG-, Broker- and Webgateway-role.

In order to access it from outside of my private LAN, I've created the following business application rule (basically as I did in UTM):

  • HTTP-Template
  • hosted address: (my WAN port)
  • HTTPS: enabled
  • Redirect HTTP: enabled
  • Listening Port: 443
  • Certificate: (selfsigned using the correct FQDN)
  • Domains: (same as in the certificate)
  • protected server: the private IP of the server in my LAN
  • authentication: none
  • allow from: Any IPv4
  • exceptions: none
  • Application Protection: none (also tried a self made rule containing only "Outlook Web Access")
  • Intrusion Prevention: none
  • Traffic shaping: none
  • disable compression: off
  • rewrite HTML: off
  • pass Host Header: on

Now, if I access the server's Remote Desktop webfeed (https://myserver.mydomain.com/RDWeb/Feed/webfeed.aspx) or it's main URL (/RDWeb), I can access its ressources without problems or certificate warnings. Windows even creates shortcuts for the published RemoteApps.

But whenever I try to actually *use* the gateway (for accessing workstations in my LAN) or one of the RemoteApps, my client tries to connect a couple of seconds without success. It simply says "Cannot connect. Please check your connection".

I'm not yet very familiar with XG's log structure but so far I haven't seen any blocked packets or something similiar. I've even set up a rule that allows the Terminal Server to access the WAN zone without any authentification.

When I'm inside my LAN, everything works perfectly, as well as when using UTM 9.

Is there anything I could try?



This thread was automatically locked due to age.
Parents
  • After digging around in some of the log files, I've seen an entry inside the WAF log, stating that a call to /rpc/rpcproxy.dll has been refused with HTTP error 401 (unauthorized). That's strange because I'm quite sure my client does indeed try to authenticate correctly (again, it works if I'm using it inside of my LAN).

    Maybe the XG is blocking such calls?
  • Oxident,

    Remote Desktop web access uses specific path: (rpc and rdweb). So make sure this path are allowed inside the WAF rule. Also path are case sensitive, so check what word the RD is using otherwise put all kinf of combination.

    Luk
Reply Children