DyonR / docker-qbittorrentvpn

Docker container which runs a qBittorent-nox client with an optional WireGuard or OpenVPN connection
https://hub.docker.com/r/dyonr/qbittorrentvpn/
GNU General Public License v3.0
254 stars 79 forks source link

RTNETLINK answers: Operation not supported #141

Open lowrisk75 opened 1 year ago

lowrisk75 commented 1 year ago

I keep having issue on boot, I changed the PGUID/PUD but now I'm having "RTNETLINK answers: Operation not supported"

2022-11-26 18:56:51.674303 [INFO] VPN_ENABLED defined as 'yes' 2022-11-26 18:56:51.777595 [INFO] LEGACY_IPTABLES is set to '' 2022-11-26 18:56:51.859513 [INFO] Not making any changes to iptables version 2022-11-26 18:56:51.946405 [INFO] The container is currently running iptables v1.8.7 (nf_tables). 2022-11-26 18:56:52.024399 [INFO] VPN_TYPE defined as 'wireguard' 2022-11-26 18:56:52.111058 [ERROR] No WireGuard config file found in /config/wireguard/. Please download one from your VPN provider and restart this container. Make sure the file extension is '.conf' 2022-11-26 18:58:49.136619 [INFO] VPN_ENABLED defined as 'yes' 2022-11-26 18:58:49.213871 [INFO] LEGACY_IPTABLES is set to '' 2022-11-26 18:58:49.297222 [INFO] Not making any changes to iptables version 2022-11-26 18:58:49.466109 [INFO] The container is currently running iptables v1.8.7 (nf_tables). 2022-11-26 18:58:49.562565 [INFO] VPN_TYPE defined as 'wireguard' 2022-11-26 18:58:49.647917 [INFO] WireGuard config file is found at /config/wireguard/Docker_WG-FR_52.conf 2022-11-26 18:58:49.720075 [ERROR] WireGuard config filename is not 'wg0.conf' 2022-11-26 18:58:49.789422 [ERROR] Rename /config/wireguard/Docker_WG-FR_52.conf to 'wg0.conf' 2022-11-26 19:01:56.066696 [INFO] VPN_ENABLED defined as 'yes' 2022-11-26 19:01:56.153671 [INFO] LEGACY_IPTABLES is set to '' 2022-11-26 19:01:56.247120 [INFO] Not making any changes to iptables version 2022-11-26 19:01:56.321406 [INFO] The container is currently running iptables v1.8.7 (nf_tables). 2022-11-26 19:01:56.388078 [INFO] VPN_TYPE defined as 'wireguard' 2022-11-26 19:01:56.480462 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf dos2unix: converting file /config/wireguard/wg0.conf to Unix format... 2022-11-26 19:01:56.550525 [INFO] VPN remote line defined as '188.241.83.122:51820' 2022-11-26 19:01:56.617381 [INFO] VPN_REMOTE defined as '188.241.83.122' 2022-11-26 19:01:56.688745 [INFO] VPN_PORT defined as '51820' 2022-11-26 19:01:56.787856 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp. 2022-11-26 19:01:56.893107 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0. 2022-11-26 19:01:56.971531 [INFO] LAN_NETWORK defined as '192.168.1.0/24' 2022-11-26 19:01:57.092169 [WARNING] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to CloudFlare and Google name servers 2022-11-26 19:01:57.210540 [INFO] Adding 1.1.1.1 to resolv.conf 2022-11-26 19:01:57.286642 [INFO] Adding 8.8.8.8 to resolv.conf 2022-11-26 19:01:57.362598 [INFO] Adding 1.0.0.1 to resolv.conf 2022-11-26 19:01:57.441537 [INFO] Adding 8.8.4.4 to resolv.conf 2022-11-26 19:01:57.507668 [INFO] Starting WireGuard... Warning:/config/wireguard/wg0.conf' is world accessible [#] ip link add wg0 type wireguard RTNETLINK answers: Operation not supported Unable to access interface: Protocol not supported [#] ip link delete dev wg0 Cannot find device "wg0"`

seandonohoo commented 1 year ago

See if you have any IPv6 IP's in your configuration file. This was an issue for me.