{
"log": {
"level": "info"
},
"inbounds": [
{
"type": "tun",
"tag": "tun-in",
"interface_name": "tun1",
"address": [
"172.18.0.1/30",
"fdfe:dcba:9876::1/126"
],
"auto_route": true
},
{
"type": "socks",
"tag": "socks-in",
"listen": "0.0.0.0",
"listen_port": 1080,
"udp_fragment": true,
"users": []
}
],
"dns": {
"servers": [
{
"tag": "local-dns",
"address": "local",
"detour": "direct-out"
},
{
"tag": "cloudflare-dns",
"address": "tls://1.1.1.1",
"address_resolver": "local-dns",
"detour": "xray-out"
}
]
},
"outbounds": [
{
"type": "trojan",
"server": "...",
"server_port": 50394,
"password": "B....Ef",
"tls": {
"enabled": false
}
}
]
}
{
"log": {
"level": "info"
},
"inbounds": [
{
"type": "tun",
"tag": "tun-in",
"interface_name": "tun1",
"address": [
"172.18.0.1/30",
"fdfe:dcba:9876::1/126"
],
"auto_route": true
}
],
"outbounds": [
{
"type": "trojan",
"server": "195.....",
"server_port": 50394,
"password": "....",
"tls": {
"enabled": false
}
}
]
}