mirror of
https://github.com/amnezia-vpn/amneziawg-tools.git
synced 2026-10-13 21:34:42 +00:00
[GH-ISSUE #40] awg-quick crashes when i1–i5 parameters are empty (AmneziaWG v2 protocol) #18
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-tools#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MrWaip on GitHub (Mar 1, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-tools/issues/40
Hi, I'm getting an error when trying to bring up an AmneziaWG v2 interface on Linux using a config exported from Amnezia self-hosted.
The config has
Jc,Jmin,Jmax,S1,S2,H1–H4set, butI1–I5come out empty from the export:Running
awg-quick up awg0fails. After some digging I found the issue inawg-quick— emptyI1–I5values are silently dropped and never passed toawg setconf:So
awg setconfgets a config without those fields and chokes on it. No warning is printed, which makes it hard to debug.This seems to affect anyone exporting configs from Amnezia self-hosted since that's where the empty
I1–I5come from.@MrWaip commented on GitHub (Mar 1, 2026):
Also, a separate question: would you consider adding SteamOS support to
awg-quick?SteamOS doesn't have
resolvconf, but it does haveresolvectl(systemd-resolved). The only change needed inset_dns/unset_dnsis replacingresolvconfcalls withresolvectl:We're doing exactly this in a fork for a Steam Deck VPN plugin: https://github.com/MrWaip/vpn-deck/blob/main/bin/awg-quick#L148