Files
sing-box-extended-mirror/examples/warp/client.json
T

62 lines
1.1 KiB
JSON
Raw Normal View History

2025-06-08 22:38:32 +03:00
{
2025-06-15 22:23:25 +03:00
"log": {
"level": "error"
2025-06-08 22:38:32 +03:00
},
2025-06-15 22:23:25 +03:00
"dns": {
"servers": [
2025-06-08 22:38:32 +03:00
{
2025-08-15 12:56:52 +03:00
"type": "local",
"tag": "default"
2025-06-08 22:38:32 +03:00
}
]
},
2025-06-15 22:23:25 +03:00
"endpoints": [
2025-06-08 22:38:32 +03:00
{
2025-06-15 22:23:25 +03:00
"type": "warp",
"tag": "warp-out",
"listen_port": 10000,
"udp_timeout": "5m0s",
"amnezia": {
"jc": 120,
"jmin": 23,
"jmax": 911,
"h1": 1,
"h2": 2,
"h3": 3,
"h4": 4
2025-06-08 22:38:32 +03:00
},
2025-06-15 22:23:25 +03:00
"profile": {
"detour": "direct",
2025-12-08 22:32:33 +03:00
// For getting existing WARP device profile, else sing-box will create new profile
2025-06-15 22:23:25 +03:00
"id": "",
"private_key": "",
"auth_token": ""
2025-06-08 22:38:32 +03:00
}
// Dial Fields
}
],
2025-06-15 22:23:25 +03:00
"inbounds": [
2025-06-08 22:38:32 +03:00
{
2025-06-15 22:23:25 +03:00
"type": "mixed",
"tag": "mixed-in",
"listen_port": 7897
2025-06-08 22:38:32 +03:00
}
],
2025-06-15 22:23:25 +03:00
"outbounds": [
2025-06-08 22:38:32 +03:00
{
2025-06-15 22:23:25 +03:00
"type": "direct",
"tag": "direct"
2025-06-08 22:38:32 +03:00
}
],
2025-06-15 22:23:25 +03:00
"route": {
"final": "warp-out",
2025-08-15 12:56:52 +03:00
"default_domain_resolver": "default",
2025-06-15 22:23:25 +03:00
"auto_detect_interface": true
2025-06-08 22:38:32 +03:00
},
2025-06-15 22:23:25 +03:00
"experimental": {
"cache_file": {
"enabled": true,
2025-12-08 22:32:33 +03:00
"store_warp_config": true // For saving WARP device profiles
2025-06-08 22:38:32 +03:00
}
}
}