Shadowsocks-libev
此版本为C++版本(python同理)。环境Debian9
1 |
|
vim /etc/shadowsocks-libev/config.json
Quick Guide
1 |
|
Advanced
1 |
|
libmbedtls and libsodium
提供部分加密需求chacha20类
1 |
|
v2ray-plugin
simple-obfs Deprecated. (弃用)
See command line args for advanced usages.
- Shadowsocks over websocket (HTTP)
On your server
ss-server -c config.json -p 80 --plugin v2ray-plugin --plugin-opts "server"
On your client
ss-local -c config.json -p 80 --plugin v2ray-plugin
- Shadowsocks over websocket (HTTPS)
On your server
ss-server -c config.json -p 443 --plugin v2ray-plugin --plugin-opts "server;tls;host=mydomain.me"
On your client
ss-local -c config.json -p 443 --plugin v2ray-plugin --plugin-opts "tls;host=mydomain.me"
- Shadowsocks over quic
On your server
ss-server -c config.json -p 443 --plugin v2ray-plugin --plugin-opts "server;mode=quic;host=mydomain.me"
On your client
ss-local -c config.json -p 443 --plugin v2ray-plugin --plugin-opts "mode=quic;host=mydomain.me"
- Issue a cert for TLS and QUIC
v2ray-plugin will look for TLS certificates signed by acme.sh by default. Here’s some sample commands for issuing a certificate using CloudFlare. You can find commands for issuing certificates for other DNS providers at acme.sh.
curl https://get.acme.sh | sh
~/.acme.sh/acme.sh --issue --dns dns_cf -d mydomain.me
Alternatively, you can specify path to your certificates using option cert and key.
#
最后
客户端可以直接原有的 shadowsocks-win
客户端,放一个 v2ray-plugin.exe
文件到 Shadowsocks.exe
同目录下即可。Android
可以下到 v2ray plugin
,是给ss客户端的一个插件,用起来也很直白。v2ray-plugin
已经有编译好的文件直接在 v2ray-plugin
的 releases 页面下下来即可,注意tar.gz
解压后的二进制文件要改成正确的名称。
参阅