-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.txt
More file actions
23 lines (16 loc) · 800 Bytes
/
README.txt
File metadata and controls
23 lines (16 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.