Shadowsocks(R) is a private protocol without a handshake negotiation mechanism. 并执行 systemctl enable rvice & systemctl start shadowsocksr. Shadowsocks(R) is a proxy software based on Socks5, which is the collective name of shadowsocks and shadowsocksR. Description=ShadowsocksR server After=syslog.target After=network.target LimitCORE=infinity LimitNOFILE=512000 LimitNPROC=512000 Type=simple WorkingDirectory=/usr/local/shadowsocksr ExecStart=/usr/bin/python /usr/local/shadowsocksr/server.py ExecReload=/bin/kill -s HUP $MAINPID ExecStop=/bin/kill -s TERM $MAINPID Restart=always WantedBy=multi-user.target Description=ShadowsocksR server After=network.target Wants=network.target Type=forking PIDFile=/var/run/shadowsocksr.pid ExecStart=/usr/bin/python /usr/local/shadowsocksr/shadowsocks/server.py -pid-file /var/run/shadowsocksr.pid -c /usr/local/shadowsocksr/user-config.json -d start ExecStop=/usr/bin/python /usr/local/shadowsocksr/shadowsocks/server.py -pid-file /var/run/shadowsocksr.pid -c /usr/local/shadowsocksr/user-config.json -d stop ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=always WantedBy=multi-user.target 请将上述脚本保存为 /etc/init.d/shadowsocks CentOS/RHEL6 执行:Ĭhmod 755 /etc/init.d/shadowsocks & chkconfig -add shadowsocks & service shadowsocks startĬhmod 755 /etc/init.d/shadowsocks update-rc.d shadowsocks defaults service shadowsocks start Yum install git -y yum install epel- release -y yum install libsodium -y # 使用salsa20 或 chacha20 或 chacha20-ietf 算法必须的 The command client of shadowsocksr For more information about how to use this package see README Ensure youre using the healthiest python packages Package. 作者: admin |分类: 系统运维 推荐BitzNet VPN,支持ChatGPT,Google,Youtube,tiktok
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |