a node.js reverse proxy (for NAT)
The server_port
can be accessed by computers on the internet. This port will be mapped to your local port.
Generally the client is your localhost
server_address
is the IP or domain of the server.
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.
MIT Licensed