Using Kerberos Proxy over Devolution Gateway works only in Browser, not in RDM
Hi everyone,
I just set up a Devolutions Server and am currently testing access to our client servers via the Devolution Gateway.
The gateway runs in a Docker container, behind a Traefik reverse proxy.
The gateway is recognized by Devolutions Server, and diagnostics show no errors. Using it for RDP entries, etc., also works fine.
I also wanted to set up Kerberos authentication via the KDC proxy (Devolution Gateway) so that admin users can be members of the Protected Users group.
However, I’m running into a problem here. When I try to connect to one of the servers via RDM, the connection is rejected. But if I use the same RDP entry in a browser (dvls), the connection works. I’ve already tried quite a few things and am starting to suspect a bug or an issue with Windows/RDP. Has anyone else encountered this problem, or can anyone help?
-Jakob
Informations and relevant log parts:
Remote Desktop Manager 2026.3.17.0 64-bit (.NET 10.0.14), Windows 10.0.26300
Devolutions Server 2026.3.13.0
Devolutions Gateway 2026.3.3, official Docker image (devolutions/devolutions-gateway) behind Traefik (TLS termination)
Gateway ENV:
WEB_SCHEME=http
EXTERNAL_WEB_SCHEME=https
VERBOSITY_PROFILE=Default
HOSTNAME={{ custom_fields.c_devolution_gw_FQDN }}
WEB_PORT=80
TCP_PORT=8181
EXTERNAL_WEB_PORT=443
PROVISIONER_PUBLIC_KEY_B64= {{ pubkey }}
Gateway log: RDM connection (Protected Users)
DEBUG ...request{method=POST path=/KdcProxy}: devolutions_gateway::middleware::log: Received request
INFO ...request{method=POST path=/KdcProxy}: devolutions_gateway::middleware::log: duration=71.34µs status=404 Not FoundGateway log: browser session via DVLS (Protected Users, works)
DEBUG ...request{method=POST path=/jet/KdcProxy}: devolutions_gateway::api::kdc_proxy: Forward-to-real-KDC realm resolved resolved_realm=INT.ABWASSER-DARSS.DE
INFO ...request{method=POST path=/jet/KdcProxy}: devolutions_gateway::kdc_connector: Forwarding message to KDC server kdc_addr=tcp://awzv-dc01.int.abwasser-darss.de:88
INFO ...request{method=POST path=/jet/KdcProxy}: devolutions_gateway::middleware::log: duration=8.935602ms status=200 OKMsRdpEx log (%LocalAppData%\MsRdpEx, log level Debug): KDC proxy injection
CMsRdpExtendedSettings::put_Property(KDCProxyURL)
CredSSP auth metadata: package=CREDSSP credEx=0 type=51(CredsspSubmitBufferBothOld) ... caller=mstscax.dll
Injecting KdcProxySettings: awzvd-kw.servicevb.com:jet/KdcProxy/<token>
KdcProxySettings: Version: 1 Flags: 0x00000001
ProxyServer: awzvd-kw.servicevb.com:jet/KdcProxy/<token>Decoded token claims: krb_kdc: tcp://awzv-dc01.int.abwasser-darss.de:88, krb_realm: int.abwasser-darss.de, jet_gw_id: 2d14b91d-394b-49b4-b9ed-7b50fedbb830 (matches the Gateway ID), lifetime 300 s.
MsRdpEx log: CredSSP failure
sspi_InitializeSecurityContextW(pszTargetName: TERMSRV/awzv-app01.int.abwasser-darss.de fContextReq: 0x0000C11D ...), status: 0x8009030C
[WARN] CMsRdpClient::GetErrorDescription(reason=3079 extended=0): Eine Benutzerkontenbeschränkung (z. B. eine Beschränkung nach Tageszeit) verhindert Ihre Anmeldung. ...RDM log
DEBUG rdpClientAdvancedSettings6.EnableCredSspSupport:True
DEBUG RDP - Disconnect:3079 / exDiscReasonNoInfoRecommended Answer
Hello Jakob,
Thank you for testing it and for the logs. I am glad it works now.
Your logs confirm the cause. Without the port, RDM sent its Kerberos request to /KdcProxy on the Gateway and got 404. With :443 in the URL, the request reached /jet/KdcProxy and the Gateway passed it on to your domain controller.
Your suggestion is the same question I passed to our QA team, whether RDM should add the default port 443 when the URL has none. I am passing your confirmation and these logs on to them, and I will let you know what comes of it. Please keep :443 in the Devolutions Gateway URL.
Best regards,
Michel
Michel Audi
Hello Jakob,
Thank you for the detailed logs. We have not found another report of this so far, but your logs point to a likely cause.
The browser session reaches the Gateway on /jet/KdcProxy and gets 200, while the RDM session reaches it on /KdcProxy and gets 404. The Gateway log hides the token on both lines. The Gateway answers 404 only when the address is not /KdcProxy/<token> or /jet/KdcProxy/<token>, so the RDM request never reaches your domain controller. Protected Users cannot use NTLM, so their RDP logon depends on that Kerberos request.
The address seems to go wrong on the RDM side. Devolutions Server builds the KDC proxy URL from your Gateway URL, and RDM turns it into the host:port:path form Windows uses. The name in your MsRdpEx log has jet/KdcProxy right after the host name, which suggests your Gateway URL has no port, so the path lands where Windows expects the port.
Could you try this? In Devolutions Server, edit your Gateway, and if its Devolutions Gateway URL has no port after the host name, add :443 there, then save and connect again from RDM. Our Docker guide gives this URL with the port clients use.
This looks like something RDM should handle without the port, so I am passing it to our QA team and will let you know what comes of it.
Could you tell me whether the URL already had a port (and which one), and whether RDM then logs on? Please also send the KDC proxy line for that RDM session from the same Gateway log, since its path and status show whether the request now reaches the KDC proxy or a remaining failure comes later.
Best regards,
Michel
Michel Audi
Hi Michel,
Thanks for the quick reply. That was exactly the problem! I added port 443 to the URL, and it worked right away.
It's always the simplest things that you overlook yourself.
As feedback, I'd say it would be good if RDM also appended the default port 443 when a port is missing.
Logs from my test (first without port then with the port in the url) are attached.
Again thank you :)
Hello Jakob,
Thank you for testing it and for the logs. I am glad it works now.
Your logs confirm the cause. Without the port, RDM sent its Kerberos request to /KdcProxy on the Gateway and got 404. With :443 in the URL, the request reached /jet/KdcProxy and the Gateway passed it on to your domain controller.
Your suggestion is the same question I passed to our QA team, whether RDM should add the default port 443 when the URL has none. I am passing your confirmation and these logs on to them, and I will let you know what comes of it. Please keep :443 in the Devolutions Gateway URL.
Best regards,
Michel
Michel Audi