sb-vs-xray/config.json

102 lines
1.9 KiB
JSON
Raw Normal View History

2024-11-18 21:43:31 +04:00
{
"log": {
"disabled": true
},
"dns": {
"servers": [
{
"tag": "cf-dns",
"address": "https://1.1.1.1/dns-query"
},
{
"tag": "direct-dns",
"address": "1.1.1.1",
"detour": "direct-out"
},
{
"tag": "fake-dns",
"address": "fakeip"
}
],
"rules": [
{
"domain": "dc09.ru",
"server": "direct-dns"
}
],
"fakeip": {
"enabled": true,
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
}
},
"route": {
"final": "vless-out",
"rules": [
{
"port": 53,
"action": "hijack-dns"
}
]
},
"inbounds": [
{
"type": "socks",
"listen": "127.0.0.1",
"listen_port": 2080
}
],
"outbounds": [
{
"tag": "socks-out",
"type": "socks",
"server": "dc09.ru",
"server_port": 2220,
"version": "5",
"username": "bench",
"password": "darkcat09"
},
{
"tag": "trojan-out",
"type": "trojan",
"server": "dc09.ru",
"server_port": 2221,
"password": "darkcat09",
"tls": {
"enabled": true,
"server_name": "dc09.ru",
"certificate_path": "cert.pem",
"utls": {
"enabled": true,
"fingerprint": "random"
}
}
},
{
"tag": "vless-out",
"type": "vless",
"server": "dc09.ru",
"server_port": 2222,
"flow": "xtls-rprx-vision",
"uuid": "11e7e1ca-cd18-493b-9da9-90c4b6f5b101",
"tls": {
"enabled": true,
"server_name": "www.google.com",
"utls": {
"enabled": true,
"fingerprint": "random"
},
"reality": {
"enabled": true,
"public_key": "_pAH3Ao-JVJfnDw4SU7p-9SzbaWIukjSF-l9JsDqrx8",
"short_id": "abc0"
}
}
},
{
"tag": "direct-out",
"type": "direct"
}
]
}