Skip to content

TCP relay/proxy/tunnel for hyperswarm using the createServer/connect mechanism

Notifications You must be signed in to change notification settings

lanmower/hyper-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <topicname> <portnumber>

### locally
### relay from a local server to a hyper-relay server
hyper-tcp-relay-client <topicname> <portnumber>

# 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.

About

TCP relay/proxy/tunnel for hyperswarm using the createServer/connect mechanism

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published