Changes between Version 32 and Version 33 of ProxyServer
- Timestamp:
- 05/08/18 16:52:18 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProxyServer
v32 v33 53 53 xpra proxy :20 --auth=allow --bind-tcp=0.0.0.0:14501 54 54 }}} 55 * if only one session is accessiblefor this user, you can connect via the proxy with:55 * if only one session exists for this user, you can connect via the proxy with: 56 56 {{{ 57 57 xpra attach tcp://:foo@PROXYHOST:14501/ … … 107 107 == Detailed Example == 108 108 109 * Start a proxy server on port 8443using the "{{{multifile}}}" authentication module (we will call this server {{{PROXYHOST}}}):109 * Start a proxy server on port 14501 using the "{{{multifile}}}" authentication module (we will call this server {{{PROXYHOST}}}): 110 110 {{{ 111 xpra proxy :100 --bind-tcp=0.0.0.0: 8443--auth=multifile:filename=./xpra-auth111 xpra proxy :100 --bind-tcp=0.0.0.0:14501 --auth=multifile:filename=./xpra-auth 112 112 }}} 113 113 * Start the session we wish to access via the {{{PROXYHOST}}} (we call this {{{TARGETHOST}}} - for testing, this can be the same host as {{{PROXYHOST}}}): … … 119 119 echo "foo|secretpassword|1000|1000|tcp:192.168.1.200:10000|EXAMPLE_ENV=VALUE|compression=0" >> ./xpra-auth 120 120 }}} 121 * create the password file on the client: 121 * connect the client through the proxy server: 122 xpra attach tcp://foo:secretpassword@$PROXYHOST:14501/ 123 124 To hide the password from command line history and process list, use a password file: 122 125 {{{ 123 126 echo -n "secretpassword" > password.txt 124 }}} 125 * connect the client to the proxy server: 126 {{{ 127 xpra attach --username=myusername --password-file=./password.txt $PROXYHOST:8443 127 xpra attach --password-file=./password.txt tcp://foo@$PROXYHOST:14501/ 128 128 }}} 129 129