This commit is contained in:
parent
1b66abf08d
commit
85c088931b
1 changed files with 27 additions and 12 deletions
|
@ -72,22 +72,37 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"endpoints": [
|
||||||
|
{
|
||||||
|
"tag": "out:warp",
|
||||||
|
"type": "wireguard",
|
||||||
|
"system": "false",
|
||||||
|
"address": [
|
||||||
|
"${WARP_IPV4}",
|
||||||
|
"${WARP_IPV6}"
|
||||||
|
],
|
||||||
|
"mtu": 1280,
|
||||||
|
"private_key": "${WARP_PRIVATE_KEY}",
|
||||||
|
"peers": [
|
||||||
|
{
|
||||||
|
"address": "engage.cloudflareclient.com",
|
||||||
|
"port": 2408,
|
||||||
|
"public_key": "${WARP_PUBLIC_KEY}",
|
||||||
|
"allowed_ips": [
|
||||||
|
"0.0.0.0/0", "::/0"
|
||||||
|
],
|
||||||
|
"persistent_keepalive_interval": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"domain_resolver": {
|
||||||
|
"server": "dns:cloudflare"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
"tag": "out:direct",
|
"tag": "out:direct",
|
||||||
"type": "direct"
|
"type": "direct"
|
||||||
},
|
|
||||||
{
|
|
||||||
"tag": "out:warp",
|
|
||||||
"type": "socks",
|
|
||||||
"server": "warp",
|
|
||||||
"server_port": 9091,
|
|
||||||
"version": "5",
|
|
||||||
"domain_resolver": {
|
|
||||||
"server": "dns:local",
|
|
||||||
"strategy": "ipv4_only",
|
|
||||||
"disable_cache": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"route": {
|
"route": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue