44 lines
772 B
JSON
44 lines
772 B
JSON
{
|
|
"log": {
|
|
"level": "debug"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"type": "mixed",
|
|
"tag": "mixed-in",
|
|
"listen": "127.0.0.1",
|
|
"listen_port": 1080
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "obfhttp",
|
|
"tag": "obfhttp-out",
|
|
"server": "127.0.0.1",
|
|
"server_port": 8443,
|
|
"path": "/api/v1/query",
|
|
"username": "testuser",
|
|
"password": "testpass",
|
|
"encryption": {
|
|
"method": "aes-256-gcm",
|
|
"password": "my-secret-key"
|
|
},
|
|
"encoding": "base64",
|
|
"long_poll_timeout": "3s"
|
|
},
|
|
{
|
|
"type": "direct",
|
|
"tag": "direct"
|
|
}
|
|
],
|
|
"route": {
|
|
"rules": [
|
|
{
|
|
"inbound": "mixed-in",
|
|
"outbound": "obfhttp-out"
|
|
}
|
|
],
|
|
"final": "direct"
|
|
}
|
|
}
|