mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-08-08 11:35:16 +03:00
76 lines
1.6 KiB
JSON
76 lines
1.6 KiB
JSON
{
|
|
"log": {
|
|
"level": "error"
|
|
},
|
|
"dns": {
|
|
"servers": [
|
|
{
|
|
"type": "local",
|
|
"tag": "default"
|
|
}
|
|
]
|
|
},
|
|
"endpoints": [
|
|
{
|
|
"type": "warp",
|
|
"tag": "warp-out",
|
|
"system": false,
|
|
"name": "warp0",
|
|
"listen_port": 10000,
|
|
"udp_timeout": "5m0s",
|
|
"persistent_keepalive_interval": 25,
|
|
"workers": 8,
|
|
"preallocated_buffers_per_pool": 256,
|
|
"disable_pauses": true,
|
|
"amnezia": {
|
|
"jc": 120,
|
|
"jmin": 23,
|
|
"jmax": 911,
|
|
"i1": "<b 0xc70000000108...",
|
|
"i2": "<b 0xc70000000108...",
|
|
"i3": "<b 0xc70000000108...",
|
|
"i4": "<b 0xc70000000108...",
|
|
"i5": "<b 0xc70000000108...",
|
|
"content_padding_addition": "50-100",
|
|
"rekey_after_time": 120,
|
|
"rekey_timeout": 5,
|
|
"reject_after_time": 180,
|
|
"keepalive_timeout": 10,
|
|
"max_handshake_attempts": 20
|
|
},
|
|
"profile": {
|
|
"detour": "direct",
|
|
// For getting existing WARP device profile, else sing-box will create new profile
|
|
"id": "",
|
|
"private_key": "",
|
|
"auth_token": "",
|
|
"recreate": false
|
|
}
|
|
// Dial Fields
|
|
}
|
|
],
|
|
"inbounds": [
|
|
{
|
|
"type": "mixed",
|
|
"tag": "mixed-in",
|
|
"listen_port": 7897
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "direct",
|
|
"tag": "direct"
|
|
}
|
|
],
|
|
"route": {
|
|
"final": "warp-out",
|
|
"default_domain_resolver": "default",
|
|
"auto_detect_interface": true
|
|
},
|
|
"experimental": {
|
|
"cache_file": {
|
|
"enabled": true,
|
|
"store_warp_config": true // For saving WARP device profiles
|
|
}
|
|
}
|
|
} |