Use X-Forwarded-For

The Use X-Forwarded-For option, found in the Devolutions Server web interface under Administration – Server Settings – Security, was introduced to solve a security issue with Devolutions Server under a load balancer: the server would only see the caller directly before it.

When first implemented, the option was enabled by default to allow backwards compatibility with users already using load balancers. However, since Devolutions Server 2023.3, it is disabled by default for new Devolutions Server installations. Therefore, for new installations using a load balancer, you must manually enable the option in Administration – Server Settings – Security. No action is required for existing installations.

Administration – Server Settings – Security – Use X-Forwarded-For
Administration – Server Settings – Security – Use X-Forwarded-For

When the option is enabled, the X-Forwarded-For header header is added to the request by IIS (this does not work with Kestrel). Each intermediate node adds the identity of the original caller to the request header and keeps adding its caller to the next. Consequently, the last node sees not only the original caller, but also which nodes intervened before it.