localtunnel-secure-server
v0.1.1
Published
An augmentation of LocalTunnel Server that adds SSL and basic authentication to LocalTunnel.
Downloads
10
Readme
LocalTunnel Secure Server
An augmentation of the LocalTunnel Server that adds SSL and basic authentication to LocalTunnel.
Installation
npm install localtunnel-secure-server -g
Usage
$ ltss --help
Usage:
cli.js [OPTIONS] [ARGS]
Options:
-a, --address [STRING] Address to bind to (e.g. localhost, 127.0.0.1) (Default is 127.0.0.1)
-p, --port [NUMBER] Port to bind to (Default is 4443)
-d, --domain [STRING] Domain to use as the root for tunnels (Default is localtest.me)
--cert [FILE] SSL Certificate to use (Default is cert/server-cert.pem)
-k, --key [FILE] SSL Private Key to use (Default is cert/server-key.pem)
-s, --secret STRING Secret to require
-S, --secure [BOOL] Run with ssl (Default is true)
-m, --sockets [NUMBER] Max sockets (Default is 10)
-h, --help Display help and usage details
Example Usage
CLI
$ ./cli.js --secure --secret foo
server listening on: https://127.0.0.1:4443