mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-24 09:31:30 +00:00
51 lines
1,001 B
JSON
51 lines
1,001 B
JSON
|
{
|
||
|
"log": {
|
||
|
"loglevel": "debug"
|
||
|
},
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"listen": "0.0.0.0",
|
||
|
"port": "1080",
|
||
|
"protocol": "socks",
|
||
|
"settings": {
|
||
|
"auth": "noauth",
|
||
|
"udp": true,
|
||
|
"ip": "127.0.0.1"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"protocol": "vless",
|
||
|
"settings": {
|
||
|
"vnext": [
|
||
|
{
|
||
|
"address": "host.docker.internal",
|
||
|
"port": 1234,
|
||
|
"users": [
|
||
|
{
|
||
|
"id": "",
|
||
|
"encryption": "none",
|
||
|
"flow": ""
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"streamSettings": {
|
||
|
"network": "tcp",
|
||
|
"security": "tls",
|
||
|
"tlsSettings": {
|
||
|
"serverName": "example.org",
|
||
|
"certificates": [
|
||
|
{
|
||
|
"certificateFile": "/path/to/certificate.crt",
|
||
|
"keyFile": "/path/to/private.key"
|
||
|
}
|
||
|
],
|
||
|
"fingerprint": "chrome"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|