Changes between Version 19 and Version 20 of ProxyServer
- Timestamp:
- 07/23/16 11:26:41 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProxyServer
v19 v20 19 19 Depending on the [/wiki/Authentication Authentication] module configured, the proxy server can expose: 20 20 * all local xpra sessions after user authentication 21 * a custom list of sessions configured through the " file-auth"mechanism21 * a custom list of sessions configured through the "multifile" auth mechanism 22 22 }}} 23 23 … … 61 61 == File Authentication == 62 62 63 When used with the proxy server, the password file (see [/wiki/Authentication#Modules Authentication Modules]) should contain one user per line using the format:63 When used with the proxy server, the password multifile (see [/wiki/Authentication#Modules Authentication Modules]) should contain one user per line using the format: 64 64 {{{ 65 65 USERNAME|PASSWORD|UID|GID|SESSION_URI|ENV_VARS|SESSION_OPTIONS … … 73 73 tcp:HOST:PORT 74 74 }}} 75 76 75 or 76 {{{ 77 77 ssh:HOST:DISPLAY 78 78 }}} … … 94 94 == Detailed Example == 95 95 96 * Start a proxy server on port 443 using the "{{{ file}}}" authentication module (we will call this server {{{PROXYHOST}}}):96 * Start a proxy server on port 443 using the "{{{multifile}}}" authentication module (we will call this server {{{PROXYHOST}}}): 97 97 {{{ 98 xpra proxy :100 --bind-tcp=0.0.0.0:443 --auth= file --password-file=./xpra-auth98 xpra proxy :100 --bind-tcp=0.0.0.0:443 --auth=multifile:filename=./xpra-auth 99 99 }}} 100 100 * Start the session we wish to access via the {{{PROXYHOST}}} (we call this {{{TARGETHOST}}} - for testing, this can be the same host as {{{PROXYHOST}}}): … … 108 108 * create the password file on the client: 109 109 {{{ 110 echo "secretpassword" >> password.txt110 echo -n "secretpassword" > password.txt 111 111 }}} 112 112 * connect the client to the proxy server: … … 126 126 * the packets should now flow through between the client and the real server 127 127 }}} 128 See also [ticket:1264#comment:3] for authentication between proxy and server.