n2n installation configuration

Compile and install

yum install git gcc-c++ openssl-devel -y
git clone https://github.com/ntop/n2n.git # 下载时间较长
cd n2n/
git checkout 2.4-stable
make
make install

Configure the server

	supernode -l 1000 -v > /dev/null &

Configuring the Client

	edge -d n2n0 -c luoye -k Ly1 -a 10.0.0.1 -l 123.185.109.177:1000 > /dev/null &
	edge -d n2n0 -c luoye -k Ly1 -a 10.0.0.3 -l 123.185.109.177:1000 > /dev/null &
Published 15 original articles · won praise 0 · Views 3961

Guess you like

Origin blog.csdn.net/pcjk8866/article/details/104683756