Yet another SIP003 plugin for shadowsocks, based on v2ray-core
go build- Alternatively, you can grab the latest nightly from Circle CI by logging into Circle CI or adding
#artifactsat the end of URL like such: https://circleci.com/gh/shadowsocks/v2ray-plugin/20#artifacts
-server Run in server mode
-fast-open Enable TCP fast open
-localAddr Local address to listen on (default: 127.0.0.1)
-localPort Local port to listen on (default: 1984)
-remoteAddr Remote address to forward (default: 127.0.0.1)
-remotePort Remote port to forward (default: 1080)
-path URL path for websocket (default: /)
-host Hostname for server (default: cloudfront.com)
-tls Enable TLS
-cert Path to TLS certificate file (default: ~/.acme.sh/{host}/fullchain.cer)
-certRaw Raw TLS certificate content (PEM format, intended for Android)
-key (server) Path to TLS key file (default: ~/.acme.sh/{host}/{host}.key)
-mode Transport mode: websocket, quic (default: websocket)
-mux Concurrent multiplexed connections, websocket client mode only (default: 1)
-loglevel Log level for v2ray: debug, info, warning (default), error, none
-insecure Skip TLS certificate verification
-fwmark Set SO_MARK option for outbound sockets (Linux only)
-version Show current version of v2ray-plugin
-V Run in VPN mode (Android only)
See command line args for advanced usages.
Warning: HTTP only provides a moderate (but lightweight) traffic obfuscation. Cautious users should refrain from using this mode.
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-pluginOn 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"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"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.meAlternatively, you can specify path to your certificates using option cert and key.
Instead of using cert to pass the certificate file, certRaw could be used to pass in PEM format certificate, that is the content between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- without the line breaks.
- Use
insecureto skip TLS certificate verification. - Use
fastOpento enable TCP fast open. - Use
fwmarkto set SO_MARK option for outbound sockets (Linux only). - Use
loglevelto control log verbosity. Available values:debug,info,warning,error,none.