Add the address field for warp.

#1385
In some cases, the outbound configuration for wireguard requires the addition of the 'address' field in order to establish a proper connection. 
It should be noted that the absence of the 'address' field configuration results in the inability to establish connections via domain names, only IP addresses can be used for connections.
pull/326/head
KoriIku 2023-01-23 22:11:25 +08:00 committed by yuhan6665
parent 30e67e8c42
commit 2df380ded6
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ Endpoint = engage.cloudflareclient.com:2408
"protocol": "wireguard",
"settings": {
"secretKey": "我的私钥",
"address": [
"172.16.0.2/32",
"2606:4700:110:8949:fed8:2642:a640:c8e1/128"
],
"peers": [
{
"publicKey": "Warp公钥",