项目重构
This commit is contained in:
275
1-代理Xray/1-韩国中转/0-Vless回落中转-Seoul-ARM-01.json
Normal file
275
1-代理Xray/1-韩国中转/0-Vless回落中转-Seoul-ARM-01.json
Normal file
@@ -0,0 +1,275 @@
|
||||
{
|
||||
"log": {
|
||||
"loglevel": "debug"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 443,
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "1dde748d-32ee-4ed7-b70b-f2376d34e7e5",
|
||||
"flow": "xtls-rprx-vision",
|
||||
"email": "cc@vless.com",
|
||||
"level": 0
|
||||
}
|
||||
],
|
||||
"decryption": "none",
|
||||
"fallbacks": [
|
||||
{
|
||||
"name": "pan.107421.xyz",
|
||||
"dest": 5003,
|
||||
"xver": 2
|
||||
},
|
||||
{
|
||||
"path": "/tokyo2",
|
||||
"dest": "@vless-ws-tokyo2",
|
||||
"xver": 2
|
||||
},
|
||||
{
|
||||
"path": "/phonix2",
|
||||
"dest": "@vless-ws-phonix2",
|
||||
"xver": 2
|
||||
},
|
||||
{
|
||||
"path": "/osaka1",
|
||||
"dest": "@vless-ws-osaka1",
|
||||
"xver": 2
|
||||
},
|
||||
{
|
||||
"dest": "/dev/shm/h2c.sock",
|
||||
"xver": 2,
|
||||
"alpn": "h2"
|
||||
},
|
||||
{
|
||||
"dest": "/dev/shm/h1.sock",
|
||||
"xver": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp",
|
||||
"security": "tls",
|
||||
"tlsSettings": {
|
||||
"certificates": [
|
||||
{
|
||||
"ocspStapling": 3600,
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"ocspStapling": 3600,
|
||||
"certificateFile": "/root/.acme.sh/pan.107421.xyz_ecc/fullchain.cer",
|
||||
"keyFile": "/root/.acme.sh/pan.107421.xyz_ecc/pan.107421.xyz.key"
|
||||
}
|
||||
],
|
||||
"minVersion": "1.2",
|
||||
"cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
|
||||
"alpn": [
|
||||
"h2",
|
||||
"http/1.1"
|
||||
]
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"listen": "@vless-ws-tokyo2",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"email": "general@vless-ws-tokyo2",
|
||||
"id": "e64b78fc-6c9a-4e73-8a68-b4128f400029",
|
||||
"level": 0
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "none",
|
||||
"wsSettings": {
|
||||
"acceptProxyProtocol": true,
|
||||
"path": "/tokyo2"
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
},
|
||||
"tag": "Seoul-amd64-01->Tokyo-amd64-02"
|
||||
},
|
||||
{
|
||||
"listen": "@vless-ws-phonix2",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"email": "general@vless-ws-phonix2",
|
||||
"id": "d5f87956-3ec5-42b3-b577-1a9314b6e56a",
|
||||
"level": 0
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "none",
|
||||
"wsSettings": {
|
||||
"acceptProxyProtocol": true,
|
||||
"path": "/phonix2"
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
},
|
||||
"tag": "Seoul-amd64-01->Phoenix-amd64-02"
|
||||
},
|
||||
{
|
||||
"listen": "@vless-ws-osaka1",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"email": "general@vless-ws-osaka1",
|
||||
"id": "b53ae42b-6fb3-465d-956d-bc40dc0bbde5",
|
||||
"level": 0
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "none",
|
||||
"wsSettings": {
|
||||
"acceptProxyProtocol": true,
|
||||
"path": "/osaka1"
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
},
|
||||
"tag": "Seoul-amd64-01->Osaka-amd64-01"
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom"
|
||||
},
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"tag": "Seoul-amd64-01"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"tag": "block"
|
||||
},
|
||||
{
|
||||
"tag": "Seoul-amd64-01->Tokyo-amd64-02",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"servers": [
|
||||
{
|
||||
"address": "140.238.52.228",
|
||||
"port": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "Seoul-amd64-01->Phoenix-amd64-02",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"servers": [
|
||||
{
|
||||
"address": "129.146.171.163",
|
||||
"port": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "Seoul-amd64-01->London-amd64-01",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"servers": [
|
||||
{
|
||||
"address": "141.147.99.91",
|
||||
"port": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "Seoul-amd64-01->Osaka-amd64-01",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"servers": [
|
||||
{
|
||||
"address": "140.83.84.142",
|
||||
"port": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"domainStrategy": "IPIfNonMatch",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"Seoul-amd64-01"
|
||||
],
|
||||
"outboundTag": "Seoul-amd64-01"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"Seoul-amd64-01->Tokyo-amd64-02"
|
||||
],
|
||||
"outboundTag": "Seoul-amd64-01->Tokyo-amd64-02"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"Seoul-amd64-01->Phoenix-amd64-02"
|
||||
],
|
||||
"outboundTag": "Seoul-amd64-01->Phoenix-amd64-02"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"Seoul-amd64-01->London-amd64-01"
|
||||
],
|
||||
"outboundTag": "Seoul-amd64-01->London-amd64-01"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"Seoul-amd64-01->Osaka-amd64-01"
|
||||
],
|
||||
"outboundTag": "Seoul-amd64-01->Osaka-amd64-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
292
1-代理Xray/1-韩国中转/0-Vless回落中转.json
Normal file
292
1-代理Xray/1-韩国中转/0-Vless回落中转.json
Normal file
@@ -0,0 +1,292 @@
|
||||
{
|
||||
"log": {
|
||||
"loglevel": "error"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 443,
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "1dde748d-32ee-4ed7-b70b-f2376d34e7e5",
|
||||
"flow": "xtls-rprx-vision",
|
||||
"email": "cc@vless.com",
|
||||
"level": 0
|
||||
}
|
||||
],
|
||||
"decryption": "none",
|
||||
"fallbacks": [
|
||||
{
|
||||
"name": "/tokyo2",
|
||||
"dest": "@vless-tcp-tokyo2",
|
||||
"xver": 2
|
||||
},
|
||||
{
|
||||
"path": "/phonix2",
|
||||
"dest": "@vless-ws-phonix2",
|
||||
"xver": 2
|
||||
},
|
||||
{
|
||||
"path": "/osaka1",
|
||||
"dest": "@vless-ws-osaka1",
|
||||
"xver": 2
|
||||
},
|
||||
{
|
||||
"dest": "/dev/shm/h2c.sock",
|
||||
"xver": 2,
|
||||
"alpn": "h2"
|
||||
},
|
||||
{
|
||||
"dest": "/dev/shm/h1.sock",
|
||||
"xver": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp",
|
||||
"security": "tls",
|
||||
"tlsSettings": {
|
||||
"certificates": [
|
||||
{
|
||||
"ocspStapling": 3600,
|
||||
"certificateFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/fullchain.cer",
|
||||
"keyFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/xx.s4.cc.hh.107421.xyz.key"
|
||||
}
|
||||
],
|
||||
"minVersion": "1.2",
|
||||
"cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
|
||||
"alpn": [
|
||||
"h2",
|
||||
"http/1.1"
|
||||
]
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"listen": "@trojan-h2-tokyo2",
|
||||
"protocol": "trojan",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"email": "ice@qq.com",
|
||||
"password": "Vad3.123a)asd1234-asdasd.asd1aczzS.123",
|
||||
"level": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "h2",
|
||||
"security": "none",
|
||||
"httpSettings": {
|
||||
"path": "/tokyo2"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"listen": "@vless-tcp-tokyo2",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"email": "general@vless-tcp-tokyo2",
|
||||
"id": "1dde748d-32ee-4ed7-b70b-f2376d34e7e5",
|
||||
"level": 0
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp",
|
||||
"security": "none",
|
||||
"tcpSettings": {
|
||||
"acceptProxyProtocol": true,
|
||||
"header": {
|
||||
"type": "http",
|
||||
"request": {
|
||||
"path": [
|
||||
"/tokyo2"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
},
|
||||
"tag": "Seoul-amd64-01->Tokyo-amd64-02"
|
||||
},
|
||||
{
|
||||
"listen": "@vless-ws-phonix2",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"email": "general@vless-ws-phonix2",
|
||||
"id": "d5f87956-3ec5-42b3-b577-1a9314b6e56a",
|
||||
"level": 0
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "none",
|
||||
"wsSettings": {
|
||||
"acceptProxyProtocol": true,
|
||||
"path": "/phonix2"
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
},
|
||||
"tag": "Seoul-amd64-01->Phoenix-amd64-02"
|
||||
},
|
||||
{
|
||||
"listen": "@vless-ws-osaka1",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"email": "general@vless-ws-osaka1",
|
||||
"id": "b53ae42b-6fb3-465d-956d-bc40dc0bbde5",
|
||||
"level": 0
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "none",
|
||||
"wsSettings": {
|
||||
"acceptProxyProtocol": true,
|
||||
"path": "/osaka1"
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
},
|
||||
"tag": "Seoul-amd64-01->Osaka-amd64-01"
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom"
|
||||
},
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"tag": "Seoul-amd64-01"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"tag": "block"
|
||||
},
|
||||
{
|
||||
"tag": "Seoul-amd64-01->Tokyo-amd64-02",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"servers": [
|
||||
{
|
||||
"address": "140.238.52.228",
|
||||
"port": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "Seoul-amd64-01->Phoenix-amd64-02",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"servers": [
|
||||
{
|
||||
"address": "129.146.171.163",
|
||||
"port": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "Seoul-amd64-01->London-amd64-01",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"servers": [
|
||||
{
|
||||
"address": "141.147.99.91",
|
||||
"port": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "Seoul-amd64-01->Osaka-amd64-01",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"servers": [
|
||||
{
|
||||
"address": "140.83.84.142",
|
||||
"port": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"domainStrategy": "IPIfNonMatch",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"Seoul-amd64-01"
|
||||
],
|
||||
"outboundTag": "Seoul-amd64-01"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"Seoul-amd64-01->Tokyo-amd64-02"
|
||||
],
|
||||
"outboundTag": "Seoul-amd64-01->Tokyo-amd64-02"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"Seoul-amd64-01->Phoenix-amd64-02"
|
||||
],
|
||||
"outboundTag": "Seoul-amd64-01->Phoenix-amd64-02"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"Seoul-amd64-01->London-amd64-01"
|
||||
],
|
||||
"outboundTag": "Seoul-amd64-01->London-amd64-01"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"inboundTag": [
|
||||
"Seoul-amd64-01->Osaka-amd64-01"
|
||||
],
|
||||
"outboundTag": "Seoul-amd64-01->Osaka-amd64-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
58
1-代理Xray/1-韩国中转/nginx.conf
Normal file
58
1-代理Xray/1-韩国中转/nginx.conf
Normal file
@@ -0,0 +1,58 @@
|
||||
# Restrict access to the website by IP or wrong domain name) and return 400
|
||||
server {
|
||||
listen unix:/dev/shm/h2c.sock proxy_protocol default_server;
|
||||
# listen 5000;
|
||||
http2 on;
|
||||
set_real_ip_from unix:;
|
||||
real_ip_header proxy_protocol;
|
||||
server_name _;
|
||||
return 400 "not allowed";
|
||||
}
|
||||
server {
|
||||
# listen 5001;
|
||||
listen unix:/dev/shm/h1.sock proxy_protocol default_server;
|
||||
set_real_ip_from unix:;
|
||||
real_ip_header proxy_protocol;
|
||||
server_name _;
|
||||
return 400 "not allowed";
|
||||
}
|
||||
|
||||
# HTTP1 UDS listener
|
||||
server {
|
||||
listen unix:/dev/shm/h1.sock proxy_protocol;
|
||||
# listen 5001;
|
||||
server_name xx.tc.hk.go.107421.xyz book.107421.xyz;
|
||||
|
||||
set_real_ip_from unix:;
|
||||
real_ip_header proxy_protocol;
|
||||
|
||||
location / {
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; # enable HSTS
|
||||
root /var/www/html/;
|
||||
index index.html index.htm;
|
||||
}
|
||||
}
|
||||
|
||||
# HTTP2 UDS listener
|
||||
server {
|
||||
listen unix:/dev/shm/h2c.sock proxy_protocol;
|
||||
# listen 5000;
|
||||
http2 on;
|
||||
|
||||
set_real_ip_from unix:;
|
||||
real_ip_header proxy_protocol;
|
||||
|
||||
server_name xx.tc.hk.go.107421.xyz book.107421.xyz;
|
||||
|
||||
# grpc settings
|
||||
# grpc_read_timeout 1h;
|
||||
# grpc_send_timeout 1h;
|
||||
# grpc_set_header X-Real-IP $remote_addr;
|
||||
|
||||
# Decoy website
|
||||
location / {
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; # enable HSTS
|
||||
root /var/www/html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user