安装过程:
1.Download and install Python for Windows, you can download x86-64 MSI installer in 64bit Windows. 2.During installation you should install pip 3.Install OpenSSL for Windows. If you installed 64bit Python, you should install 64bit OpenSSL. 4.Install shadowsocks like Linux. In Command Prompt, type command line pip install shadowsocks 5.If you want to use salsa20 or chacha20 encryption, download libsodium and put dll files (without path) into C:\Windows\System32 or C:\Windows\SysWOW64 (32bit Python on 64bit Windows).
可以用配置文件启动或者命令行参数方式启动.分别为
ssserver -p 443 -k password -m aes-256-cfb ssserver -c /etc/shadowsocks.json
当然也可以后台运行
ssserver -c /etc/shadowsocks.json -d start ssserver -c /etc/shadowsocks.json -d stop
安装过程中遇到的问题.
1.安装OpenSSL后没有环境变量
添加: path:C:\OpenSSL-Win64\bin
2.启动ss遇到的问题
报错:
EVP_CIPHER_CTX_cleanup
原因是因为OpenSSL 丢弃了EVP_CIPHER_CTX_cleanup函数,改为 EVP_CIPHER_CTX_reset
根据提示: C:\Python27\Lib\site-packages\shadowsocks\crypto\openssl.py 文件搜索 EVP_CIPHER_CTX_cleanup 改为 EVP_CIPHER_CTX_reset ,共2处;
3.端口冲突
检查端口占用
总结~ windows下部署ss感觉挺麻烦~
没用用SSR的主要原因是因为SSR貌似还必须安装MYSQL~~~更加麻烦. 懒得弄了.
原文地址:https://www.cnblogs.com/yueyue184/p/9029094.html
时间: 2024-10-16 16:32:48