Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find device "wireguard" #1

Open
Sispheor opened this issue Feb 4, 2020 · 3 comments
Open

Cannot find device "wireguard" #1

Sispheor opened this issue Feb 4, 2020 · 3 comments

Comments

@Sispheor
Copy link

Sispheor commented Feb 4, 2020

Hi, this is the error I get on ubuntu 18.04

[#] ip link add wireguard type wireguard
RTNETLINK answers: Not supported
Unable to access interface: Protocol not supported
[#] ip link delete dev wireguard
Cannot find device "wireguard"
@dokbua
Copy link

dokbua commented Mar 25, 2021

Same here, a year later. Looks like abandonware.

wireguard-socks-proxy           | [#] ip link add peer1 type wireguard
wireguard-socks-proxy           | RTNETLINK answers: Operation not permitted
wireguard-socks-proxy           | Unable to access interface: Protocol not supported
wireguard-socks-proxy           | [#] ip link delete dev peer1
wireguard-socks-proxy           | Cannot find device "peer1"

@maxgillett
Copy link

Try adding --privileged to the docker run command.

@Wikidepia
Copy link

Wikidepia commented Feb 26, 2023

I got similar error, I need to add --sysctl net.ipv6.conf.all.disable_ipv6=1 to docker run command to fix it and remove all ipv6 address from wireguard conf

docker run -d --rm --sysctl net.ipv6.conf.all.disable_ipv6=1 --cap-add=NET_ADMIN \
    --name wireguard-socks-proxy \
    --volume wg:/etc/wireguard/:ro \
    -p 1080:1080 \
    kizzx2/wireguard-socks-proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants