81a414e503
Bump @types/node from 18.11.2 to 18.11.5 |
||
---|---|---|
.github | ||
bin | ||
src | ||
.gitignore | ||
.npmignore | ||
CHANGELOG.md | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
CUBETIQ HTTP Tunnel Client
A lightweight http tunnel client using nodejs and socket.io client.
Installation
npm i -g @cubetiq/hlt
OR
npx @cubetiq/hlt
Usages
- If installed to global (bin), please using cli
hlt [command] [options]
- Initialize Client and Start (Quick)
# Initialize a client and token for connect (default's profile)
npx @cubetiq/hlt init
# Start port 3000 to remote server
npx @cubetiq/hlt start 3000
Start port 3000 with suffix to remote server
npx @cubetiq/hlt start 3000 -s mytest
- Initialize Client and Start (Quick with custom's profile)
```shell
# Initialize a client and token for connect (mytest's profile)
npx @cubetiq/hlt init -p mytest
# Start port 3000 to remote server (mytest's profile)
npx @cubetiq/hlt start 3000 -p mytest
Custom Config
- Generate Client Key
npx @cubetiq/hlt config client new
- Set Client Token (Required, contact to vendor)
npx @cubetiq/hlt config token $TOKEN
- Set Custom Server
npx @cubetiq/hlt config server https://lt.ctdn.net
- Start Client
npx @cubetiq/hlt start $YOUR_PORT
Contributors
- Original web-tunnel
- Sambo Chea sombochea@cubetiqs.com