標籤:ssl 令行 and man round 後台運行 you json 提示
安裝過程:
1.Download and install Python for Windows, you can download x86-64 MSI installer in 64bit Windows.2.During installation you should install pip3.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 shadowsocks5.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-cfbssserver -c /etc/shadowsocks.json
當然也可以後台運行
ssserver -c /etc/shadowsocks.json -d startssserver -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~~~更加麻煩. 懶得弄了.
windows 部署SS server 出現的錯誤.