revese-server
revese-server copied to clipboard
simple tool for expose a local server behind a NAT or firewall to the internet.
revese-server
simple tool for expose a local server behind a NAT or firewall to the internet.
hub
a server on the internet that any one can connect.
- upstreamaddr : connect for service to expose
- localaddr : bind for normal client
client
behind NAT, can connect to service which needs to expose.
- targetaddr : connect to service to expose
- hubaddr : connect to
hub
example config
- PC A : behind NAT, has a service on :8080
- run
client -c client.json
- run
- PC B : on the internet, expose service on :80
- run
hub -c hub.json
- run
port 80 | | port 10999 | port 8080
user --------> | hub | <========= | client -----------> services
| PC B | | PC A