Skip to content

Silas-Yang/spike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spike

a node.js reverse proxy (for NAT)

Server

node server <server_port>

The server_port can be accessed by computers on the internet. This port will be mapped to your local port.

Client

node client <server_address> <your_local_port>

Generally the client is your localhost server_address is the IP or domain of the server.

Example

If you have a server which is www.example.com, and want to let people access your local service like HTTP, which runs at port 8080. then you need:

Server runs: node server 80

Localhost runs: node client www.example.com 8080

Then your local http server can be exposed by accessing http://www.example.com.

License

MIT Licensed

About

a node.js reverse proxy (for NAT)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published