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

76 lines
1.6 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",
2026-07-16 11:16:10 +03:00
"system": false,
"name": "warp0",
2025-06-15 22:23:25 +03:00
"listen_port": 10000,
"udp_timeout": "5m0s",
2026-07-16 11:16:10 +03:00
"persistent_keepalive_interval": 25,
"workers": 8,
"preallocated_buffers_per_pool": 256,
"disable_pauses": true,
2025-06-15 22:23:25 +03:00
"amnezia": {
"jc": 120,
"jmin": 23,
"jmax": 911,
2026-07-16 11:16:10 +03:00
"i1": "<b 0xc70000000108...",
"i2": "<b 0xc70000000108...",
"i3": "<b 0xc70000000108...",
"i4": "<b 0xc70000000108...",
"i5": "<b 0xc70000000108...",
2026-08-08 10:11:01 +03:00
"content_padding_addition": "50-100",
"rekey_after_time": 120,
"rekey_timeout": 5,
"reject_after_time": 180,
"keepalive_timeout": 10,
"max_handshake_attempts": 20
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": "",
2026-07-16 11:16:10 +03:00
"auth_token": "",
"recreate": false
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
}
}
}