qtunnel in c
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
CMakeLists.txt
LICENSE.md
Makefile
README.md
qtunnel.c
qtunnel.h

README.md

qtunnel-libev

qtunnel in c

As qtunnel can not run on my loongson 8089d (alloc memory error, gccgo), I write this.

Because of lacking knowledge of openssl and aes, it could only support rc4 now.

it can work with qtunnel in go.

install

at first you should install openssl and libev

# install openssl
sudo apt-get install libssl-dev


#install libev
sudo apt-get install libev-dev

then git clone and make

git clone https://github.com/messyidea/qtunnel-c.git
cd qtunnel-c
make

usage

server: ./qtunnel-c --listen=0.0.0.0:server_port --backend=127.0.0.1:7655 --clientmod=false --secret=secret

client: ./qtunnel-c --listen=127.0.0.1:local_port --backend=server_host:server_port --clientmod=true --secret=secret

todo

  • support more encryption method

License

MIT