forked from mhzed/wstunnel
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Looks like the reverse proxy mode can be used to expose a local server behind NAT to be exposed to internet
Eg. a server running on wsclient can be exposed to internet using reverse proxy.
Examples about how to run a reverse tunnel client:
//without security
./wstun.js -r6666:2.2.2.2:33 ws://server:8080
//with security
./wstun.js -r6666:2.2.2.2:33 wss://server:8080
In the above examples, the client asks the server to open a TCP server on port 6666 and all connections on this port are tunneled to the client that is directely connected to 2.2.2.2:33.
In above example, i am not clear, what is tunneled to the client that is directely connected to 2.2.2.2:33
What is 2.2.2.2 ? I want to expose a server on 127.0.0.1:LOCALPORT
Metadata
Metadata
Assignees
Labels
No labels