Users

All Posts (2)

avatar

info112

Using Kerberos Proxy over Devolution Gateway works only in Browser, not in RDM

avatar
avatar
avatar

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 :)

Using Kerberos Proxy over Devolution Gateway works only in Browser, not in RDM

avatar
avatar
avatar

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 Found

    Gateway 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 OK

    MsRdpEx 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 / exDiscReasonNoInfo
1 - 2 of 2 items