sb-vs-xray/config_xray.json
2024-11-18 21:43:31 +04:00

121 lines
2.3 KiB
JSON

{
"log": {
"loglevel": "none"
},
"dns": {
"servers": ["fakedns", "https://1.1.1.1/dns-query"],
"queryStrategy": "UseIP"
},
"fakedns": [
{
"ipPool": "198.18.0.0/15",
"poolSize": 65535
},
{
"ipPool": "fc00::/18",
"poolSize": 65535
}
],
"routing": {
"rules": [
{
"type": "field",
"port": 53,
"outboundTag": "dns-out"
},
{
"type": "field",
"network": "tcp,udp",
"outboundTag": "vless-out"
}
]
},
"inbounds": [
{
"protocol": "socks",
"listen": "127.0.0.1",
"port": 2081,
"settings": {
"udp": true
}
}
],
"outbounds": [
{
"tag": "socks-out",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "dc09.ru",
"port": 2220,
"users": [
{
"user": "bench",
"pass": "darkcat09"
}
]
}
]
}
},
{
"tag": "trojan-out",
"protocol": "trojan",
"settings": {
"servers": [
{
"address": "dc09.ru",
"port": 2221,
"email": "bench",
"password": "darkcat09"
}
]
},
"streamSettings": {
"security": "tls",
"tlsSettings": {
"serverName": "dc09.ru",
"certificates": [
{
"certificateFile": "cert.pem"
}
],
"fingerprint": "random"
}
}
},
{
"tag": "vless-out",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "dc09.ru",
"port": 2222,
"users": [
{
"id": "11e7e1ca-cd18-493b-9da9-90c4b6f5b101",
"encryption": "none",
"flow": "xtls-rprx-vision"
}
]
}
]
},
"streamSettings": {
"security": "reality",
"realitySettings": {
"serverName": "www.google.com",
"publicKey": "_pAH3Ao-JVJfnDw4SU7p-9SzbaWIukjSF-l9JsDqrx8",
"shortId": "abc0",
"fingerprint": "random"
}
}
},
{
"tag": "dns-out",
"protocol": "dns"
}
]
}