Skip to content
TMOONLIGHT edited this page Jul 8, 2019 · 1 revision

Step1. 安装运行时

首先去微软官方下载镜像

sudo wget https://download.visualstudio.microsoft.com/download/pr/87521bd8-1522-4141-9532-91d580292c42/59116d9f6ebced4fdc8b76b9e3bbabbf/dotnet-runtime-2.2.5-linux-arm.tar.gz
sudo mkdir -p /usr/share/dotnet && sudo tar zxf dotnet-runtime-2.2.5-linux-arm.tar.gz -C /usr/share/dotnet
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet

安装过程无报错,运行以下指令查看dotne版本号,大于2.2即可

sudo dotnet -version

Step2. 下载和安装程序(客户端)

mkdir nspclient
cd nspclient
sudo wget https://github.com/tmoonlight/NSmartProxy/files/3342627/nspclient_v0.9.zip
sudo unzip nspclient_v0.9.zip

0c3db4bacc40b464b240c5d0f65692a0.gif

Step3. 配置和运行程序(客户端)

按照下图来配置客户端的映射规则 6ec662c0b59f3fea5d6f506bd666bdd8.gif

sudo dotnet NSmartProxyClient.dll

332e846c7ea9d33e3c34c6bb478bb214.gif

  • P.S:新的版本对配置文件进行了简化,已经去除反向连接端口和配置端口的配置,只需要配置web端口即可。