Browse Source

always generate awg h1-h5

pull/2398/head
Bernd Storath 5 months ago
parent
commit
48f3fbd715
  1. 2
      src/server/utils/WireGuard.ts

2
src/server/utils/WireGuard.ts

@ -213,7 +213,7 @@ class WireGuard {
WG_DEBUG('New Wireguard Keys generated successfully.');
}
if (WG_ENV.WG_EXECUTABLE === 'awg' && wgInterface.h1 === 0) {
if (wgInterface.h1 === 0) {
WG_DEBUG('Generating random AmneziaWG obfuscation parameters...');
const headers = new Set<number>();

Loading…
Cancel
Save