设置shadow服务端

安装git

sudo yum install git -y

下载shadow-libev

git clone https://github.com/shadow/shadow-libev.git

安装shadow

cd shadow-libev
git submodule update --init --recursive
sudo yum install gcc gettext autoconf libtool automake make pcre-devel asciidoc xmlto c-ares-devel libev-devel libsodium-devel mbedtls-devel -y
./autogen.sh && ./configure && make
sudo make install
vim ss_serverConfig

配置设置:

vim ss_serverConfig

{
    "server": "0.0.0.0",
    "server_port": 3389,
    "local_port": 1080,
    "password": "123456",
    "timeout": 10000,
    "method": "chacha20-ietf-poly1305"
}

启动:

nohup ss-server -c ss_serverConfig &

 

posted @ 2024-02-15 13:16  施凯sky  阅读(59)  评论(0)    收藏  举报