banner
音小董

哩哔哩哔

这世上的热闹出自孤单

搭建虚拟局域网n2n

準備:#

パブリック IP を持つサーバーが必要で、TCP プロトコルのポート 8080 を開放する必要があります

構築を開始する:#

以下の手順で、ローカルの Linux コンピュータとパブリックサーバーで n2n をコンパイルします

  1. Git をインストールする
apt install git
  1. n2n プロジェクトをクローンする
git clone https://github.com/ntop/n2n
  1. 指定されたディレクトリに移動する
cd n2n
  1. autoconf をインストールする
apt install autoconf
  1. プロジェクトをコンパイルする
./autogen.sh
./configure
make
make install
  1. サーバーを起動する
./supernode -p 10086 -f
  1. クライアントを起動する
./edge -c nekool -a 192.168.100.1 -f -l パブリックサーバーのIP:8080
読み込み中...
文章は、創作者によって署名され、ブロックチェーンに安全に保存されています。