UNPKG

guacamole-lite

Version:

Library to create servers compatible with the Guacamole protocol. Guacamole is a web client for RDP/VNC/SSH/Telnet

21 lines (15 loc) 430 B
#!/usr/bin/env node const GuacamoleLite = require('guacamole-lite'); const websocketOptions = { port: 8080 // we will accept connections to this port }; const guacdOptions = { port: 4822 // port of guacd }; const clientOptions = { crypt: { cypher: 'AES-256-CBC', key: 'MySuperSecretKeyForParamsToken12' } }; const guacServer = new GuacamoleLite(websocketOptions, guacdOptions, clientOptions);