freerdp-proxy(1)
π freerdp-proxy π
okay bestie, welcome to freerdp-proxy from the FreeRDP fam β it's the server binary that lets you MITM-proxy RDP connections, and yes it's giving very main character energy π₯
β¨ NAME β¨
freerdp-proxy β a server binary allowing MITM proxying of RDP connections π¦
πΈ SYNOPSIS πΈ
freerdp-proxy [-h] [--help] [--buildconfig] [--dump-config <config file>] [-v] [--version] [<config file>]
π DESCRIPTION π
so freerdp-proxy can be used to proxy a RDP connection between a target server and connecting clients, fr fr. like, it sits in the middle and vibes. possible usage scenarios are:
- Proxying β connect outdated/insecure RDP servers from behind a (more secure) proxy π
- Analysis β allow detailed protocol analysis of (many) unknown protocol features (channels) π§
- Inspection β MITM proxy for session inspection and recording π
β¨ OPTIONS β¨
-h,--helpβ display a help text explaining usage. iconic, honestly π«Ά--buildconfigβ print the build configuration of the proxy and exit.-v,--versionβ print the version of the proxy and exit.--dump-configβ dump a template configuration to<config-ini-file>πΎ<config-ini-file>β start the proxy with settings read from<config-ini-file>
π¨ WARNING π¨
bestie. listen. the proxy does not support authentication out of the box β it just acts simply as intermediary. only RDP and TLS security modes are supported, and NLA will fail for connections to the proxy. π
to implement authentication, a proxy-module can be implemented that can authenticate against some backend and map connecting users and credentials to target server users and credentials. that's the way that you do it π
π EXAMPLES π
freerdp-proxy /some/config/file
freerdp-proxy --dump-config /some/config/file
π PREPARATIONS π
- generate certificates for proxy π
winpr-makecert -rdp -path . proxy
- generate proxy configuration
freerdp-proxy --dump-config proxy.ini
- edit configuration and:
- provide (preferably absolute) paths for
CertificateFileandPrivateKeyFilegenerated previously - remove the
CertificateContentsandPrivateKeyContents - adjust the
[Server]settingsHostandPortto bind a specific port on a network interface - adjust the
[Target]HostandPortsettings to the RDP target server - adjust (or remove if unuse) the
Pluginssettings
- provide (preferably absolute) paths for
- start proxy server π
freerdp-proxy proxy.ini
π EXIT STATUS π
0β successful program execution. slay β1β otherwise. π
π¦ SEE ALSO π¦
π AUTHOR π
FreeRDP <team@freerdp.com>
okay that's the whole thing bestie, no cap, every last flag and caveat is in there πΈ this was 3.16.0, dated 2023-12-14, and honestly? it ate. go forth and proxy responsibly, mwah π β¨π
π¦ where this page comes from
- ubuntu questing: freerdp3-proxy 3.16.0+dfsg-2
- ubuntu questing: freerdp3-proxy 3.16.0+dfsg-2ubuntu0.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms