0.0.2 • Published 3 years ago

hyper-tcp-relay v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

This package relays tcp listeners over hyperswarm, using the createServer/connect noise encrypted channel.

The cli tools are symetric topics, but one can easily spawn a client programatically that uses a public key instead of a topic, to make your relayed process publicly available.

Installation

npm install --save hyper-relay -g

TCP Relay

remotely

relay from a hyper-relay client to a local server

hyper-tcp-relay-server

locally

relay from a local server to a hyper-relay server

hyper-tcp-relay-client

STDIO Relay

remotely

hyper-relay-server

locally

hyper-relay-client

PROGRAMMATIC USE

You can check out the use of the relay in the socks example socks.js as a programmatic forwarder for a local server, this same process can do reverse http servers, sip phone calls, or anything else.