From daa43540477e18ae5c6e19e887733b793c17ad72 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Fri, 26 Jan 2024 21:57:46 +0330 Subject: ipv6 for familyProtect and some changes --- web/html/xui/warp_modal.html | 1 + web/html/xui/xray.html | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'web/html') diff --git a/web/html/xui/warp_modal.html b/web/html/xui/warp_modal.html index d1663df0..4e6dd4fa 100644 --- a/web/html/xui/warp_modal.html +++ b/web/html/xui/warp_modal.html @@ -140,6 +140,7 @@ mtu: 1420, secretKey: warpModal.warpData.private_key, address: Object.values(config.interface.addresses), + domainStrategy: 'ForceIPv6v4', peers: [{ publicKey: peer.public_key, endpoint: peer.endpoint.host, diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index 05f5f178..d6f0c0f8 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -569,9 +569,11 @@ familyProtectDNS: { "servers": [ "1.1.1.3", // https://developers.cloudflare.com/1.1.1.1/setup/ - "1.0.0.3" + "1.0.0.3", + "2606:4700:4700::1113", + "2606:4700:4700::1003" ], - "queryStrategy": "UseIPv4" + "queryStrategy": "UseIP" }, } }, -- cgit v1.2.3