#15032·algo

WireGuard client configuration generated with missing newline between directives

Author: gh0st-networkCreated Aug 1, 2026Updated Aug 2, 2026

What happened?

A fresh installation of Algo VPN v2.0.1 generated invalid WireGuard client configurations.

The generated WireGuard .conf files are missing the newline between the Endpoint and PersistentKeepalive directives, resulting in an invalid configuration. Consequently, the generated QR codes are also unusable because they encode the malformed configuration.

The template (roles/wireguard/templates/client.conf.j2) contains the newline correctly, but the rendered client configuration does not.

This occurs across all generated WireGuard client configs.

Environment (cloud provider, OS, WireGuard or IPsec)

Algo VPN: v2.0.1 (official GitHub tag) Installation: Fresh deployment VPN server OS: Ubuntu 22.04 LTS Deployment type: Local installation VPN protocol: WireGuard

Output

Expected output:

[Peer]
PublicKey = <redacted>
PresharedKey = <redacted>
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = example.domain.com:12345
PersistentKeepalive = 25

Actual output:

[Peer]
PublicKey = <redacted>
PresharedKey = <redacted>
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = example.domain.com:12345PersistentKeepalive = 25