Add examples

This commit is contained in:
Sergei Maklagin
2025-06-08 22:38:32 +03:00
parent e1a58d12fe
commit 0dff811977
4 changed files with 325 additions and 0 deletions

79
examples/warp/client.json Normal file
View File

@@ -0,0 +1,79 @@
{
"log":{
"level":"error"
},
"dns":{
"servers":[
{
"address":"local",
"detour":"direct"
}
]
},
"endpoints":[
{
"type":"warp",
"tag":"warp-out",
"system":false,
"name":"",
"listen_port":10000,
"udp_timeout":"",
"workers":0,
"profile":{
"detour":"direct",
"recreate":false,
// for getting existing WARP device profile
"id":"",
"private_key":"",
"auth_token":""
},
"amnezia":{
"jc":120,
"jmin":23,
"jmax":911,
"h1":1,
"h2":2,
"h3":3,
"h4":4
}
// Dial Fields
}
],
"inbounds":[
{
"type":"mixed",
"tag":"mixed-in",
"listen_port":7897
}
],
"outbounds":[
{
"type":"direct",
"tag":"direct"
},
{
"type":"dns",
"tag":"dns-out"
}
],
"route":{
"rules":[
{
"protocol":"dns",
"outbound":"dns-out"
},
{
"port":53,
"outbound":"dns-out"
}
],
"final":"warp-out",
"auto_detect_interface":true
},
"experimental":{
"cache_file":{
"enabled":true,
"store_warp_config":true
}
}
}