2022-04-25 04:02:15 +00:00
|
|
|
{
|
|
|
|
"log": {
|
|
|
|
"loglevel": "debug"
|
|
|
|
},
|
|
|
|
"inbounds": [
|
|
|
|
{
|
|
|
|
"port": 1080,
|
|
|
|
"listen": "127.0.0.1",
|
|
|
|
"protocol": "socks",
|
|
|
|
"settings": {
|
|
|
|
"udp": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"port": 1081,
|
|
|
|
"protocol": "http",
|
|
|
|
"sniffing": {
|
|
|
|
"enabled": true,
|
|
|
|
"destOverride": ["http", "tls"]
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"auth": "noauth"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"outbounds": [
|
|
|
|
{
|
|
|
|
"protocol": "trojan",
|
|
|
|
"settings": {
|
|
|
|
"servers": [
|
|
|
|
{
|
2023-03-12 01:37:52 +00:00
|
|
|
"address": "example.com", // your domain name or server IP
|
|
|
|
"flow": "xtls-rprx-direct", // Linux or android can be changed to "xtls-rprx-splice"
|
2022-04-25 04:02:15 +00:00
|
|
|
"port": 443,
|
2023-03-12 01:37:52 +00:00
|
|
|
"password": "your_password" // your password
|
2022-04-25 04:02:15 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"streamSettings": {
|
|
|
|
"network": "tcp",
|
|
|
|
"security": "xtls",
|
|
|
|
"xtlsSettings": {
|
2023-03-12 01:37:52 +00:00
|
|
|
"serverName": "example.com" // your domain name
|
2022-04-25 04:02:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|