Răsfoiți Sursa

warp - ForceIP

ForceIPv6v4 to ForceIP
MHSanaei 1 an în urmă
părinte
comite
9f904f8f47
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      web/assets/js/model/outbound.js
  2. 1 1
      web/html/xui/warp_modal.html

+ 1 - 1
web/assets/js/model/outbound.js

@@ -915,7 +915,7 @@ Outbound.HttpSettings = class extends CommonClass {
 Outbound.WireguardSettings = class extends CommonClass {
     constructor(
             mtu=1420, secretKey=Wireguard.generateKeypair().privateKey,
-            address=[''], workers=2, domainStrategy='ForceIPv6v4', reserved='',
+            address=[''], workers=2, domainStrategy='ForceIP', reserved='',
             peers=[new Outbound.WireguardSettings.Peer()], kernelMode=false) {
         super();
         this.mtu = mtu;

+ 1 - 1
web/html/xui/warp_modal.html

@@ -140,7 +140,7 @@
                             mtu: 1420,
                             secretKey: warpModal.warpData.private_key,
                             address: Object.values(config.interface.addresses),
-                            domainStrategy: 'ForceIPv6v4',
+                            domainStrategy: 'ForceIP',
                             peers: [{
                                 publicKey: peer.public_key,
                                 endpoint: peer.endpoint.host,