Skip to content

6667316/v2ray-plugin

This branch is 48 commits behind teddysun/v2ray-plugin:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5cb8f7e · Apr 17, 2021
Sep 13, 2019
Jun 20, 2019
Jan 14, 2019
Mar 3, 2021
Oct 25, 2020
Mar 3, 2021
Mar 5, 2021
Apr 17, 2021
Apr 17, 2021
Jan 14, 2019
Mar 5, 2021
Mar 5, 2021
Jan 9, 2019
Mar 5, 2021

Repository files navigation

Yet another SIP003 plugin for shadowsocks, based on v2ray

CircleCI Releases Language: Go Go Report Card License

Build

Usage

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.

Use certRaw to pass certificate

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.

About

A SIP003 plugin based on v2ray

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 84.8%
  • Shell 15.2%