lite-http-tunnel
v0.2.0
Published
HTTP tunnel client
Readme
Lite HTTP Tunnel - Client
Lite HTTP Tunnel client to connect Lite HTTP Tunnel server.
Usage
Firstly, please follow here to have your Lite HTTP Tunnel server.
Installation
$ npm i -g lite-http-tunnel
$ lite-http-tunnel -hSetup
Config remote public server address:
$ lite-http-tunnel config server https://your_web_host_domainAuth with tunnel server:
$ lite-http-tunnel auth $JWT_GENERATOR_USERNAME $JWT_GENERATOR_PASSWORDReplace
$JWT_GENERATOR_USERNAMEand$JWT_GENERATOR_PASSWORDwith values that you provide at tunnel server
Start client
$ lite-http-tunnel start your_local_server_portPlease replace your_local_server_port with your local HTTP server port, eg: 8080.
After that you can access your local HTTP server by access your_public_server_domain.
Change origin:
$ lite-http-tunnel start your_local_server_port -o localhost:5000