Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

reverse-tunnel-cpp

A Small program punch through NAT firewalls

This project is only a proof of concept, which is not suitable for running for a long period. Please use frp. It is better documented, and the features are much more richer than this project.

The command option are:

--help, -h      Print this help messages
--srv           [server mode] listen port, default value: 7000.
--connect, -c   [export mode] connect to server.
--export, -e    [export mode] export server endpoint.
--bind, -b      [export mode] bind remote server.
--socks5, -s    [socks5 mode] start socks5 server on this port.

For example:

./reverse-tunnel --srv :7000

Running reverse-tunnel on port :7000

./reverse-tunnel --connect 127.0.0.1:7000 --bind :8000 --export localhost:8080

connect to remote server 127.0.0.1:7000, request to bind on :8000 on the remote server, and export my localhost:8080 service.

You can’t perform that action at this time.