Open ghost opened 5 years ago
Hi, First, thank you for using this project! Sorry that I didn't write a README of how to use it.
First, you start your service that you want to export. For example, I have a HTTP service on port :8080
Next, I start reverse-tunnel
on another machine(I run it on localhost just for demonstration). Like:
which should start in listening mode
. Keep it running in the background.
Next, starting another reverse-tunnel
to connect to the remote server. Like
The command
./reverse-tunnel-macos --connect 127.0.0.1:7000 --bind :8000 --export localhost:8080
means: connect to remote server 127.0.0.1:7000
, request to bind on :8000
on the remote server, and export my localhost:8080
service.
Finally, you can see on port :8000
also shows my HTTP webpage
This project is only a proof of concept, which is not suitable for running for a long period. You can use frp. It is better documented, and the features are much more richer than this project. But anyway, thank for trying it out!
hi, i downloaded from release page, reverse-tunnel-w64.exe, when i starting, he started as listener how to start another copy to connect on listener?, i need to put some keys? best regards.