binhex / arch-qbittorrentvpn

Docker build script for Arch Linux base with qBittorrent, Privoxy and OpenVPN
GNU General Public License v3.0
397 stars 46 forks source link

container not working using Wireguard 'interface failed to come up' #145

Open illuvattarr opened 1 year ago

illuvattarr commented 1 year ago

I'm trying to get this docker to run on my Synology NAS DS720+ using Wireguard, but when connecting to it at port 8090 Firefox displays 'connection was reset'. The log of the docker shows the wireguard interface failed to come up, see this logfile: binxhexqbit log.zip

My wireguard conf file is located in: /volume1/docker/binhexqbit/wireguard/wg0.conf

I used this docker code:

docker run -d \ --sysctl="net.ipv4.conf.all.src_valid_mark=1" \ --privileged=true \ -p 6890:6881 \ -p 6890:6881/udp \ -p 8090:8090 \ -p 8120:8118 \ --name=qbittorrentwg \ -v /volume1/video/downloads:/data \ -v /volume1/docker/binhexqbit:/config \ -v /etc/localtime:/etc/localtime:ro \ -e VPN_ENABLED=yes \ -e VPN_PROV=custom \ -e VPN_CLIENT=wireguard \ -e LAN_NETWORK=192.168.1.0/24 \ -e WEBUI_PORT=8090 \ -e PUID=1027 \ -e PGID=100 \ binhex/arch-qbittorrentvpn

I'm already running the Wireguard SPK from https://github.com/runfalk/synology-wireguard

Any ways to fix this?

PancakeZik commented 1 year ago

If you get this to work, please let us know. I've been wanting to use wireguard with this container on my Synology for ages