[GH-ISSUE #57] Wireguard container error #22

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

Originally created by @xakod on GitHub (Mar 7, 2022).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/57

I see in wireguard client logs

Handshake for peer 1 (*:51820) did not complete after 5 seconds

Then I try to attach docker container with wireguard and restart wireguard manually but I cannot

bash-5.1# wg-quick up /opt/amnezia/wireguard/wg0.conf
Warning: `/opt/amnezia/wireguard/wg0.conf' is world accessible
[#] ip link add wg0 type wireguard
RTNETLINK answers: Not supported
Unable to access interface: Protocol not supported
[#] ip link delete dev wg0
Cannot find device "wg0"

Amnezia v 2.0.8

Originally created by @xakod on GitHub (Mar 7, 2022). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/57 I see in wireguard client logs ``` Handshake for peer 1 (*:51820) did not complete after 5 seconds ``` Then I try to attach docker container with wireguard and restart wireguard manually but I cannot ```bash bash-5.1# wg-quick up /opt/amnezia/wireguard/wg0.conf Warning: `/opt/amnezia/wireguard/wg0.conf' is world accessible [#] ip link add wg0 type wireguard RTNETLINK answers: Not supported Unable to access interface: Protocol not supported [#] ip link delete dev wg0 Cannot find device "wg0" ``` Amnezia v 2.0.8
Author
Owner

@pokamest commented on GitHub (Jul 19, 2023):

The errors you're seeing indicate that the WireGuard kernel module is not installed or is not supported in your VPS server's virtualization environment.

If you're running a virtual private server (VPS) and your virtualization environment doesn't support the WireGuard kernel module, you may face challenges in setting up a WireGuard VPN. This issue arises because certain virtualization environments don't allow for the full range of kernel module operations that are required for WireGuard to function.

You may need to consider switching to a different VPS provider that supports kernel modules (KVM virtualization).
We are planning to implement the server-side functionality using wireguard-go, which will address this issue.

<!-- gh-comment-id:1642899275 --> @pokamest commented on GitHub (Jul 19, 2023): The errors you're seeing indicate that the WireGuard kernel module is not installed or is not supported in your VPS server's virtualization environment. If you're running a virtual private server (VPS) and your virtualization environment doesn't support the WireGuard kernel module, you may face challenges in setting up a WireGuard VPN. This issue arises because certain virtualization environments don't allow for the full range of kernel module operations that are required for WireGuard to function. You may need to consider switching to a different VPS provider that supports kernel modules (KVM virtualization). We are planning to implement the server-side functionality using wireguard-go, which will address this issue.
Author
Owner

@xakod commented on GitHub (Jul 31, 2023):

@pokamest thanx

<!-- gh-comment-id:1658161994 --> @xakod commented on GitHub (Jul 31, 2023): @pokamest thanx
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/amnezia-client#22
No description provided.