EmbarkStudios / wg-ui

WireGuard Web UI for self-serve client configurations, with optional auth.
Apache License 2.0
1.5k stars 129 forks source link

Receive: netlink receive: operation not supported #170

Open ramoncio opened 2 years ago

ramoncio commented 2 years ago

Hi, thanks for your nice work! I would like to try your docker image, but I get this error when I run docker command:

HOST:~ # docker run --rm -it --privileged --entrypoint "/wireguard-ui" -v /storage/dockers/wireguard-ui:/data -p 8080:8080 --privileged embarkstudios/wireguard-ui:latest --data-dir=/data --log-level=debug INFO[0000] Starting
DEBU[0000] ipAddr: 172.31.255.0 ipNet: 172.31.255.0/24 DEBU[0000] Read server config from file: /data/config.json DEBU[0000] Configuration loaded with public key: hotXKd5vItWw5e1S+MgPXjXCNJP04PrTookaPf2YHEQ= [favicon.png index.html main.css main.css.map main.js main.js.map vendors~main.1.js vendors~main.1.js.map vendors~main.css vendors~main.css.map] DEBU[0000] Server initialized: /data
DEBU[0000] Adding wireguard device: wg0
DEBU[0000] Adding ip address to wireguard device: 172.31.255.0/24 DEBU[0000] Bringing up wireguard device: wg0
DEBU[0000] Adding NAT / IP masquerading using nftables
DEBU[0000] Flushing nftable rulesets
DEBU[0000] Setting up nftable rules for ip masquerading FATA[0000] Receive: netlink receive: operation not supported

I also tried adding the mapping -v /storage/.config/wireguard:/etc/wireguard, but same result.

My system is a COREELEC 19.5--RC3 aarch64, with Docker version 19.03.15, build 99e3ed89195c4e551e87aad1e7453b65456b03ad docker-compose version 1.29.2, build unknown portainer Community Edition 2.15.0

jarylc/wireguard-ui:latest works just fine, fyi.