UNPKG

guacamole-lite

Version:

Lite version of guacamole server in node.js. RDP/VNC client for HTML5 browsers

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);