mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 11:22:21 +08:00
40 lines
765 B
JSON
40 lines
765 B
JSON
{
|
|
"log": {
|
|
"loglevel": "debug"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "0.0.0.0",
|
|
"port": 1234,
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "b831381d-6324-4d53-ad4f-8cda48b30811"
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "gun",
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"serverName": "example.org",
|
|
"certificates": [
|
|
{
|
|
"certificateFile": "/path/to/certificate.crt",
|
|
"keyFile": "/path/to/private.key"
|
|
}
|
|
]
|
|
},
|
|
"grpcSettings": {
|
|
"serviceName": "TunService"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom"
|
|
}
|
|
]
|
|
} |