Changes between Version 9 and Version 10 of ProxyServer
- Timestamp:
- 11/07/13 05:39:18 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProxyServer
v9 v10 17 17 18 18 {{{#!div class="box" 19 == Usage == 19 == Basic Usage == 20 '''Beware''': to simplify these instructions, we use the {{{allow}}} [/wiki/Authentication authentication module], which does '''no''' checking whatsoever! 21 20 22 To start the proxy server, simply run: 21 23 {{{ 22 xpra proxy :20 --auth= sys--bind-tcp=0.0.0.0:44324 xpra proxy :20 --auth=allow --bind-tcp=0.0.0.0:443 23 25 }}} 26 27 If only one session is accessible, users can connect as usual with: 28 {{{ 29 xpra attach tcp:USERNAME@PROXYHOST:443 30 }}} 31 32 If there is more than one session accessible for this user, the client also needs to specify which display it wishes to connect to, using one of those two switches: 33 * the "{{{--display=:N}}}" switch 34 * the extended attach syntax: "{{{tcp:USERNAME@SERVER:PORT:DISPLAY}}} 35 ie: 36 {{{ 37 xpra attach tcp:john@127.0.0.1:443 --display=:100 38 }}} 39 [[BR]] 40 24 41 Notes: 25 * if you run this command as root, all the user sessions will be exposed , and although a password will be required to access them - this is prone to man-in-the-middle attacks (see [/wiki/Authentication#SecurityConsiderations authentication security considerations])42 * if you run this command as root, all the user sessions will be exposed! 26 43 * if you run it a normal user, only this user's session will be exposed 27 44 * once authenticated, the proxy server spawns a new process and no longer runs as root 28 45 * the display number chosen for the proxy server is only used for identifying the proxy server and interacting with it using the regular tools ("{{{xpra info}}}", etc) 29 [[BR]]30 31 When attaching, the client usually needs to specify its password using the {{{--password-file}}} switch, and if there is more than one live session for that user, it will also need to specify which display it wishes to connect to, using one of those two switches:32 * the "{{{--display=:N}}}" switch33 * the attach syntax: "{{{tcp:SERVER:PORT:DISPLAY}}}34 ie:35 {{{36 xpra attach tcp:127.0.0.1:443 --password-file=./password.txt --display=:10037 }}}38 46 }}} 39 47