teddysun/xray-plugin
소개
Xray-core 기반 SIP003 플러그인입니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalYet another SIP003 plugin for shadowsocks, based on Xray-core
Build
go build
Usage
See command line args for advanced usages.
Shadowsocks over websocket (HTTP)
On your server
ss-server -c config.json -p 80 --plugin xray-plugin --plugin-opts "server"
On your client
ss-local -c config.json -p 80 --plugin xray-plugin
Shadowsocks over websocket with TLS (HTTPS)
On your server
ss-server -c config.json -p 443 --plugin xray-plugin --plugin-opts "server;tls;host=mydomain.com"
On your client
ss-local -c config.json -p 443 --plugin xray-plugin --plugin-opts "tls;host=mydomain.com"
Shadowsocks over QUIC
On your server
ss-server -c config.json -p 443 --plugin xray-plugin --plugin-opts "server;mode=quic;host=mydomain.com"
On your client
ss-local -c config.json -p 443 --plugin xray-plugin --plugin-opts "mode=quic;host=mydomain.com"
Shadowsocks over gRPC
On your server
ss-server -c config.json -p 443 --plugin xray-plugin --plugin-opts "server;mode=grpc"
On your client
ss-local -c config.json -p 443 --plugin xray-plugin --plugin-opts "mode=grpc"
Shadowsocks over gRPC with TLS
On your server
ss-server -c config.json -p 443 --plugin xray-plugin --plugin-opts "server;mode=grpc;tls;host=mydomain.com"
On your client
ss-local -c config.json -p 443 --plugin xray-plugin --plugin-opts "tls;mode=grpc;host=mydomain.com"
Issue a cert for TLS and QUIC
xray-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.
wget -O- https://get.acme.sh | sh
~/.acme.sh/acme.sh --issue --dns dns_cf -d mydomain.com
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.
관련 프로젝트 살펴보기
불러오는 중…