apt-get install libev-dev (yum install libev-devel)
git clone https://github.com/happyfire/SimpleTunnelServer
cd SimpleTunnelServer
make
(make完成后,会在当前目录下,生成可执行文件server)
客户机器的操作系统必须为linux系统,因为要用到'linux/if.h'文件。
项目地址:https://github.com/happyfire/SimpleTunnelServer
git clone https://github.com/happyfire/SimpleTunnelServer
cd SimpleTunnelServer
make
(make完成后,会在当前目录下,生成可执行文件server)
root@ar:~/SimpleTunnelServer# ./server
会显示:
[TSLOG] server starting at port 4000, verbose = 0
[TSLOG] open tun dev:xtun
[TSLOG] setup tun dev:10.0.0.1 [255.255.0.0]
[TSLOG] ip count=65533
客户机器的操作系统必须为linux系统,因为要用到'linux/if.h'文件。
项目地址:https://github.com/happyfire/SimpleTunnelServer
No comments:
Post a Comment