fix(awg): fix AWG Advanced install script - create container before generating keys
- Container now starts FIRST with docker run, then wg genkey is called inside it - After config creation, explicitly reload wg0 interface with 'ip link del wg0' + 'wg-quick up' - This ensures AWG obfuscation parameters (Jc, S1, S2, H1-H4) are applied to kernel - Removed duplicate 'amnezia-xray' protocol from migration 047
This commit is contained in:
@@ -38,7 +38,6 @@ DEALLOCATE PREPARE alterIfNotExists;
|
||||
-- 2. Insert Data
|
||||
INSERT IGNORE INTO protocols (slug, name, description, definition, show_text_content, is_active) VALUES
|
||||
('amnezia-wg', 'AmneziaWG', 'Amnezia WireGuard implementation', '{}', 0, 1),
|
||||
('amnezia-xray', 'Amnezia XRay', 'XRay (VLESS/Reality)', '{"scripts":{}}', 0, 1),
|
||||
('wireguard', 'WireGuard', 'Standard WireGuard', '{}', 0, 1),
|
||||
('openvpn', 'OpenVPN', 'Standard OpenVPN', '{}', 0, 1),
|
||||
('shadowsocks', 'Shadowsocks', 'Shadowsocks proxy', '{}', 0, 1),
|
||||
|
||||
Reference in New Issue
Block a user