Xray-Core#
テスト環境#
- ubuntu20.04
- Xray-Core-Reality
プレビューバージョン#
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --beta
安定版#
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
Vless-XTLS-uTLS-Reality フローコントロールの例#
{
"log": {
"loglevel": "warning"
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [{
"type": "field",
"domain": [
"geoip:cn"
],
"outboundTag": "block"
}, {
"type": "field",
"domain": [
"geoip:private"
],
"outboundTag": "direct"
}
]
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "1", // 1-30バイトの任意の文字列、またはxray uuidを生成する
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"dest": "www.xxxx.com:443", // 最低限の要件:海外のウェブサイト、TLSv1.3、X25519、H2をサポートしている、リダイレクト用ではないドメイン(メインドメインはwwwにリダイレクトされる可能性がある)
"serverNames": [ // クライアントで使用可能なserverNameのリスト、*ワイルドカードはサポートされていません
"www.xxxx.com" // Chrome - "dest"のURLを入力 - F12 - セキュリティ - F5 - メインのソース(セキュリティ)- 証明書SANの値を入力
],
"privateKey": "2KZ4uouMKgI8nR-LDJNP1_MHisCJOmKGj9jUjZLncVU", // xray x25519で生成し、"Private key"の値を入力
"shortIds": [ // クライアントで使用可能なshortIdのリスト、異なるクライアントを識別するために使用できます
"" // 0からfまでの値、2の倍数の長さ、上限は16、空白のままにするか、openssl rand -hex 8を実行して生成する
]
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
]
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
],
"policy": {
"levels": {
"0": {
"handshake": 2,
"connIdle": 120
}
}
}
}
WARP メディアストリーミング#
Netflix Disney + のアンロック#
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]
[lisence]
アンロックの確認#
bash <(curl -L -s check.unlock.media)
TUIC プロトコル#
ワンクリックスクリプト#
bash <(wget -qO- https://gitlab.com/rwkgyg/tuic-yg/raw/main/tuic.sh 2> /dev/null)