N2N P2P VPN Debian/Ubuntu Linux下的编译安装方法
先安装编译依赖
apt-get install g++
apt-get install gcc
apt-get install cmake libssl-dev
取消设置CC和CXX,或者使用系统编译器(删除/ local):
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
#v2s版本
git clone https://github.com/meyerd/n2n.git
cd n2n/n2n_v2
mkdir build
cd build
cmake -build . ..
make
make install
运行:
supernode -l 10088
#n2n版本
git clone https://github.com/ntop/n2n.git
cd n2n
cmake -build . ..
make
make install
运行:
supernode -l 10086