always generate awg h1-h5
This commit is contained in:
@@ -213,7 +213,7 @@ class WireGuard {
|
|||||||
WG_DEBUG('New Wireguard Keys generated successfully.');
|
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...');
|
WG_DEBUG('Generating random AmneziaWG obfuscation parameters...');
|
||||||
const headers = new Set<number>();
|
const headers = new Set<number>();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user