Replies: 1 comment 1 reply
-
|
Maybe you're passing a config string to the run function that accepts a path to the config file? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My current config file
{
"log": {
"level": "info",
"output": "console"
},
"inbounds": [
{
"protocol": "socks",
"address": "127.0.0.1",
"port": 55739,
"tag": "socks-inbound"
}
],
"outbounds": [
{
"protocol": "tls",
"tag": "tls_out",
"settings": {
"serverName": "(host)"
}
},
{
"protocol": "ws",
"tag": "ws_out",
"settings": {
"path": "(wsPath)",
"headers": {
"Host": "(host)"
}
}
},
{
"protocol": "vmess",
"tag": "vmess_out",
"settings": {
"address": "(host)",
"port": (port),
"uuid": "(id)",
"security": "(encryption)"
}
},
{
"protocol": "chain",
"tag": "proxy",
"settings": {
"actors": ["vmess_out", "ws_out", "tls_out"]
}
}
],
"router": {
"rules": [
{
"target_tag": "proxy",
"domains": [
{
"value": "google.com"
}
],
"ip_cidrs": ["8.8.8.8/32"],
"networks": ["tcp", "udp"]
}
],
"domain_resolve": true
},
"dns": {
"servers": ["1.1.1.1", "8.8.8.8"]
}
}
that throw error code 2 (Config_Error)
Beta Was this translation helpful? Give feedback.
All reactions