A swiss-knife proxy powered by HyperDHT!
Install with npm
npm install -g hypertele // hyperswarm server proxy
npm install -g hyper-cmd-utils // keygen utils
hypertele-server --help
Create a JSON config file for the server
{
"seed": "SEED",
"allowed": [
"CLIENT_PEER_KEY",
...
]
}
Options | Description |
---|---|
-l <PORT> |
port of the local service exposed to the peers |
--cert-skip |
skip certificate check when connecting to local service |
--seed SEED |
seed (command-line) |
hypertele-server -l 22 -c config-server.json
hypertele-server -l 22 --seed XXX
The above-mentioned command will print out the pubkey.
Pub server
hypertele-pub --help
Create a JSON config file for the server
{
"seed": "SEED",
"allowed": [
"CLIENT_PEER_KEY",
...
]
}
options:
-l PORT : port of the local service to expose to the peers
--seed SEED : seed (command-line)
hypertele-pub -l 5555 -c config-server.json
hypertele-pub -l 5555 --seed XXX
The above-mentioned command will print out the pubkey.
hypertele --help
Create a JSON config file for client
{
"peer": "SERVER_PEER_KEY"
}
Options | Description |
---|---|
-s <SERVER_PEER_KEY> |
server peer key (command-line) |
-i <keypair.json> |
keypair file |
hypertele -p 1337 -c config-client.json
hypertele -p 1337 -s PUBKEY_FROM_SERVER -i keypair.json
telnet localhost 1337
Hypertele also provides support for the hyper-cmd system!
Learn more about identity management and host resolution using hyper-cmd: