warp - ForceIP

ForceIPv6v4 to ForceIP
This commit is contained in:
MHSanaei 2024-01-29 23:36:21 +03:30
parent 78e1194ebb
commit 9f904f8f47
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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,