[GH-ISSUE #5] wg-tools does not seem to understand new parameters #1

Closed
opened 2026-10-13 21:02:07 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @valerius2k on GitHub (Nov 23, 2023).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-tools/issues/5

Hi. Tried to build this repo and use it with "wg" and "wg-quick" and "wg-quick@" systemd unit.

wg-quick up wg10

[#] ip link add wg10 type wireguard
[#] wg setconf wg10 /dev/fd/63
Unable to modify interface: Invalid argument
[#] ip link delete dev wg10

I have the following wg10.conf:

`[Interface]
PrivateKey = censored
Address = 10.78.77.2/32,fd42:43:42::2/128
DNS = 1.1.1.1,9.9.9.9
PostUp = ip rule add from 10.77.77.248/29 table 128; ip route add table 128 defa
PostDown = ip rule del from 10.77.77.248/29 table 128; ip route del table 128 de
Table = off
S1 = 9
S2 = 11
Jc = 12
Jmin = 120
Jmax = 220

[Peer]
PublicKey = censored
PresharedKey = censored
Endpoint = 192.162.241.137:443
AllowedIPs = 0.0.0.0/0,::/0
`

"wg" does not seem to understand the new parameters S1, S2, Jc, Jmin, Jmax. Though, I see them present in config.c source file. What I'm doing wrong? Maybe, I need to build other branch than "master"?

Originally created by @valerius2k on GitHub (Nov 23, 2023). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-tools/issues/5 Hi. Tried to build this repo and use it with "wg" and "wg-quick" and "wg-quick@" systemd unit. # wg-quick up wg10 [#] ip link add wg10 type wireguard [#] wg setconf wg10 /dev/fd/63 Unable to modify interface: Invalid argument [#] ip link delete dev wg10 I have the following wg10.conf: `[Interface] PrivateKey = *censored* Address = 10.78.77.2/32,fd42:43:42::2/128 DNS = 1.1.1.1,9.9.9.9 PostUp = ip rule add from 10.77.77.248/29 table 128; ip route add table 128 defa PostDown = ip rule del from 10.77.77.248/29 table 128; ip route del table 128 de Table = off S1 = 9 S2 = 11 Jc = 12 Jmin = 120 Jmax = 220 [Peer] PublicKey = *censored* PresharedKey = *censored* Endpoint = 192.162.241.137:443 AllowedIPs = 0.0.0.0/0,::/0 ` "wg" does not seem to understand the new parameters S1, S2, Jc, Jmin, Jmax. Though, I see them present in config.c source file. What I'm doing wrong? Maybe, I need to build other branch than "master"?
Author
Owner

@valerius2k commented on GitHub (Nov 23, 2023):

Ah, It seems, I'm missing the awg-linux-kernel-module file.

<!-- gh-comment-id:1824762164 --> @valerius2k commented on GitHub (Nov 23, 2023): Ah, It seems, I'm missing the awg-linux-kernel-module file.
Author
Owner

@leninalive commented on GitHub (Sep 15, 2024):

@valerius2k we hope you have achieved success with newer versions of packages so we close this issue.

<!-- gh-comment-id:2351709358 --> @leninalive commented on GitHub (Sep 15, 2024): @valerius2k we hope you have achieved success with newer versions of packages so we close this issue.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-tools#1
No description provided.