From b1cb6b3efc85fc00a76e12cfe51c437d2c12e9fd Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 20 Dec 2023 21:22:30 +0100 Subject: [PATCH] [server,proxy] update manpage with config steps --- server/proxy/cli/freerdp-proxy.1.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/server/proxy/cli/freerdp-proxy.1.in b/server/proxy/cli/freerdp-proxy.1.in index ee2825eac..1219c3d91 100644 --- a/server/proxy/cli/freerdp-proxy.1.in +++ b/server/proxy/cli/freerdp-proxy.1.in @@ -43,6 +43,28 @@ freerdp-proxy /some/config/file freerdp-proxy --dump-config /some/config/file +.SH PREPARATIONS + +1. generate certificates for proxy + +\fBwinpr-makecert -rdp -path . proxy\fP + +2. generate proxy configuration + +\fBfreerdp-proxy --dump-config proxy.ini\fP + +3. edit configurartion and: + + * provide (preferrably absolute) paths for \fBCertificateFile\fP and \fBPrivateKeyFile\fP generated previously + * remove the \fBCertificateContents\fP and \fBPrivateKeyContents\fP + * Adjust the \fB[Server]\fP settings \fBHost\fP and \fBPort\fP to bind a specific port on a network interface + * Adjust the \fB[Target]\fP \fBHost\fP and \fBPort\fP settings to the \fBRDP\fP target server + * Adjust (or remove if unuse) the \fBPlugins\fP settings + +3. start proxy server + + \fBfreerdp-proxy proxy.ini\fP + .SH EXIT STATUS .TP .B 0