diff --git a/v2ray示例/Xray-中级方案/Seoul0-实际使用的Xray配置.json b/v2ray示例/Xray-中级方案/Seoul0-实际使用的Xray配置.json new file mode 100644 index 0000000..c94f71a --- /dev/null +++ b/v2ray示例/Xray-中级方案/Seoul0-实际使用的Xray配置.json @@ -0,0 +1,206 @@ +{ + "inbounds": [ + { + "protocol": "trojan", + "listen": "0.0.0.0", + "port": 30000, + "settings": { + "clients": [ + { + "password": "V2ryStr0ngP0ss", + "email": "lovemm@107421.xyz" + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "alpn": [ + "h2", + "http/1.1" + ], + "certificates": [ + { + "certificateFile": "/root/.acme.sh/xx.s0.yy.ac.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/xx.s0.yy.ac.107421.xyz_ecc/xx.s0.yy.ac.107421.xyz.key" + } + ] + } + }, + "tag": "Seoul-arm64-01" + }, + { + "protocol": "trojan", + "listen": "0.0.0.0", + "port": 29999, + "settings": { + "clients": [ + { + "password": "V2ryStr0ngP0ss", + "email": "lovemm@107421.xyz" + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "alpn": [ + "h2", + "http/1.1" + ], + "certificates": [ + { + "certificateFile": "/root/.acme.sh/xx.s0.yy.ac.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/xx.s0.yy.ac.107421.xyz_ecc/xx.s0.yy.ac.107421.xyz.key" + } + ] + } + }, + "tag": "Seoul-arm64-01->Tokyo-amd64-02" + }, + { + "protocol": "trojan", + "listen": "0.0.0.0", + "port": 29998, + "settings": { + "clients": [ + { + "password": "V2ryStr0ngP0ss", + "email": "lovemm@107421.xyz" + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "alpn": [ + "h2", + "http/1.1" + ], + "certificates": [ + { + "certificateFile": "/root/.acme.sh/xx.s0.yy.ac.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/xx.s0.yy.ac.107421.xyz_ecc/xx.s0.yy.ac.107421.xyz.key" + } + ] + } + }, + "tag": "Seoul-arm64-01->Phoenix-amd64-02" + }, + { + "protocol": "trojan", + "listen": "0.0.0.0", + "port": 29997, + "settings": { + "clients": [ + { + "password": "V2ryStr0ngP0ss", + "email": "lovemm@107421.xyz" + } + ] + }, + "streamSettings": { + "network": "tcp", + "security": "tls", + "tlsSettings": { + "alpn": [ + "h2", + "http/1.1" + ], + "certificates": [ + { + "certificateFile": "/root/.acme.sh/xx.s0.yy.ac.107421.xyz_ecc/fullchain.cer", + "keyFile": "/root/.acme.sh/xx.s0.yy.ac.107421.xyz_ecc/xx.s0.yy.ac.107421.xyz.key" + } + ] + } + }, + "tag": "Seoul-arm64-01->London-amd64-01" + } + ], + "outbounds": [ + { + "protocol": "freedom" + }, + { + "protocol": "freedom", + "tag": "Seoul-arm64-01" + }, + { + "protocol": "blackhole", + "tag": "block" + }, + { + "tag": "Seoul-arm64-01->Tokyo-amd64-02", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "140.238.52.228", + "port": 1234 + } + ] + } + }, + { + "tag": "Seoul-arm64-01->Phoenix-amd64-02", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "129.146.171.163", + "port": 1234 + } + ] + } + }, + { + "tag": "Seoul-arm64-01->London-amd64-01", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "141.147.99.91", + "port": 1234 + } + ] + } + } + ], + "routing": { + "domainStrategy": "IPIfNonMatch", + "rules": [ + { + "type": "field", + "inboundTag": [ + "Seoul-arm64-01" + ], + "outboundTag": "Seoul-arm64-01" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-arm64-01->Tokyo-amd64-02" + ], + "outboundTag": "Seoul-arm64-01->Tokyo-amd64-02" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-arm64-01->Phoenix-amd64-02" + ], + "outboundTag": "Seoul-arm64-01->Phoenix-amd64-02" + }, + { + "type": "field", + "inboundTag": [ + "Seoul-arm64-01->London-amd64-01" + ], + "outboundTag": "Seoul-arm64-01->London-amd64-01" + } + ] + } +} \ No newline at end of file diff --git a/v2ray示例/Xray-中级方案/Xray安装脚本.txt b/v2ray示例/Xray-中级方案/Xray安装脚本.txt new file mode 100644 index 0000000..5190b4c --- /dev/null +++ b/v2ray示例/Xray-中级方案/Xray安装脚本.txt @@ -0,0 +1,2 @@ + +bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --without-geodata \ No newline at end of file diff --git a/v2ray示例/Xray-中级方案/Xray证书申请模板.txt b/v2ray示例/Xray-中级方案/Xray证书申请模板.txt new file mode 100644 index 0000000..064a071 --- /dev/null +++ b/v2ray示例/Xray-中级方案/Xray证书申请模板.txt @@ -0,0 +1,20 @@ + +# 香港 xx.tc.hk.go.107421.xyz +# Seoul-arm64-01 xx.s0.yy.ac.107421.xyz +# Seoul-amd64-04 xx.s4.cc.hh.107421.xyz + +export DOMAIN_NAME=xx.s0.yy.ac.107421.xyz + +export CF_Token="oXJRP5XI8Zhipa_PtYtB_jy6qWL0I9BosrJEYE8p" +export CF_Account_ID="dfaadeb83406ef5ad35da02617af9191" +export CF_Zone_ID="511894a4f1357feb905e974e16241ebb" + +acme.sh --issue --dns dns_cf -d ${DOMAIN_NAME} --keylength ec-256 + + + +export DOMAIN_NAME=xx.s0.yy.ac.107421.xyz +chmod -R 644 /root/.acme.sh/${DOMAIN_NAME}_ecc/fullchain.cer +chmod -R 644 /root/.acme.sh/${DOMAIN_NAME}_ecc/${DOMAIN_NAME}.key + +systemctl restart xray && sleep 1 && systemctl status xray \ No newline at end of file diff --git a/v2ray示例/Xray-中级方案/香港证书申请模板.txt b/v2ray示例/Xray-中级方案/香港证书申请模板.txt deleted file mode 100644 index d545aa2..0000000 --- a/v2ray示例/Xray-中级方案/香港证书申请模板.txt +++ /dev/null @@ -1,12 +0,0 @@ -export DOMAIN_NAME=xx.tc.hk.go.107421.xyz - -export CF_Token="oXJRP5XI8Zhipa_PtYtB_jy6qWL0I9BosrJEYE8p" -export CF_Account_ID="dfaadeb83406ef5ad35da02617af9191" -export CF_Zone_ID="511894a4f1357feb905e974e16241ebb" - -acme.sh --issue --dns dns_cf -d ${DOMAIN_NAME} --keylength ec-256 - -chmod -R 644 /root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/fullchain.cer -chmod 644 /root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/xx.tc.hk.go.107421.xyz.key - -systemctl restart xray && sleep 1 && systemctl status xray \ No newline at end of file