From 3a6ad0a811799c069c03d8c3aed9ece1e31331e1 Mon Sep 17 00:00:00 2001 From: alantang <107459091+alantang1977@users.noreply.github.com> Date: Fri, 12 Apr 2024 23:34:16 +0800 Subject: [PATCH] Add files via upload --- lib/wgcf.json | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/wgcf.json b/lib/wgcf.json index b8622796..af523377 100644 --- a/lib/wgcf.json +++ b/lib/wgcf.json @@ -12,7 +12,7 @@ "concurrency": true }, { - "address": "http+local://223.5.5.5/dns-query", + "address": "tcp+local://223.5.5.5:53", "concurrency": true, "domains": [ "full:cdn-all.xn--b6gac.eu.org" @@ -29,14 +29,16 @@ "peers": [ { "publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", - "endpoint" : "engage.cloudflareclient.com:2408" + "endpoint" : "engage.cloudflareclient.com:2408", + "keepAlive": 30 } ], "address": [ "172.16.0.2/32", "2606:4700:110:893c:845c:536b:5565:8106/128" ], - "kernelMode": false + "kernelMode": false, + "worker":16 }, "protocol": "wireguard", "streamSettings": { @@ -51,14 +53,16 @@ "peers": [ { "publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", - "endpoint" : "engage.cloudflareclient.com:2408" + "endpoint" : "engage.cloudflareclient.com:2408", + "keepAlive": 30 } ], "address": [ "172.16.0.2/32", "2606:4700:110:893c:845c:536b:5565:8106/128" ], - "kernelMode": false + "kernelMode": false, + "worker":30 }, "protocol": "wireguard", "streamSettings": { @@ -239,7 +243,7 @@ } ], "routing": { - "domainStrategy": "AsIs", + "domainStrategy": "IPOnDemand", "rules": [ { "type": "field",