1.0.0-alpha.1 • Published 1 year ago

@e9x/websockify v1.0.0-alpha.1

Weekly downloads
-
License
LGPL-3.0
Repository
github
Last release
1 year ago

websockify

A port of websockify-js to modern NodeJS and TypeScript.

Usage

Usage: websockify [options]

Creates a WebSocket server on <listen-host>:<listen-port> and forwards traffic to a TCP socket on <source-host>:<source-port>.

Options:
  -s, --source <address>:<port>
  -l, --listen <address>:<port>
  -h, --help                     display help for command

VNC on 5901, WS on 9999

npx @e9x/websockify --source 127.0.0.1:5901 --listen 127.0.0.1:9999

With debugging:

DEBUG=websockify npx @e9x/websockify --source 127.0.0.1:5901 --listen 127.0.0.1:9999