Browse Source

feat: update client and server interface parameters (#2440)

pull/2448/head
Alexander Chepurnoy 4 months ago
committed by GitHub
parent
commit
6004457666
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 20
      src/server/utils/wgHelper.ts

20
src/server/utils/wgHelper.ts

@ -63,11 +63,11 @@ AllowedIPs = ${allowedIps.join(', ')}${extraLines.length ? `\n${extraLines.join(
S2: wgInterface.s2, S2: wgInterface.s2,
S3: wgInterface.s3, S3: wgInterface.s3,
S4: wgInterface.s4, S4: wgInterface.s4,
i1: wgInterface.i1, I1: wgInterface.i1,
i2: wgInterface.i2, I2: wgInterface.i2,
i3: wgInterface.i3, I3: wgInterface.i3,
i4: wgInterface.i4, I4: wgInterface.i4,
i5: wgInterface.i5, I5: wgInterface.i5,
H1: wgInterface.h1, H1: wgInterface.h1,
H2: wgInterface.h2, H2: wgInterface.h2,
H3: wgInterface.h3, H3: wgInterface.h3,
@ -131,11 +131,11 @@ PostDown = ${iptablesTemplate(hooks.postDown, wgInterface)}`;
S2: wgInterface.s2, S2: wgInterface.s2,
S3: wgInterface.s3, S3: wgInterface.s3,
S4: wgInterface.s4, S4: wgInterface.s4,
i1: client.i1, I1: client.i1,
i2: client.i2, I2: client.i2,
i3: client.i3, I3: client.i3,
i4: client.i4, I4: client.i4,
i5: client.i5, I5: client.i5,
H1: wgInterface.h1, H1: wgInterface.h1,
H2: wgInterface.h2, H2: wgInterface.h2,
H3: wgInterface.h3, H3: wgInterface.h3,

Loading…
Cancel
Save