I am trying to get gluetun setup with sab and deluge and it comes up with this error when trying to connect gluetun to mullvad.
I’ve confirmed that the private key and addresses are as per the .conf that gets downloaded from the mullvad set up page.
This is my compose.yml for the gluetun part
services:
gluetun:
image: qmcgaw/gluetun:latest
container_name: gluetun
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=mullvad
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=[redacted]
- WIREGUARD_ADDRESSES=[redacted]
- SERVER_COUNTRIES=Canada
volumes:
- ./gluetun/config:/gluetun
ports:
- "8112:8112" # Deluge Web UI (exposed via gluetun)
- "58846:58846" # Deluge daemon (optional)
- "8019:8080" # SABnzbd Web UI (exposed via gluetun)
- "9090:9090" # example SABnzbd additional port if needed
restart: unless-stopped
networks:
- vpn-net
Anyone got any ideas? TIA :)


I have no clue as I’ve not set this up myself unfortunately. :(
There are also certain Linux distros have SElinux enabled ( like red hat or fedora ). This could also block docker from accessing the file if it is enabled.
You’d have to search online how to set a policy in selinux to allow it.
SElinux does not appear in Ubuntu/Debian based distros.
Easiest check would be to run
getenforce. If it works and it returns1it’s enabled and possibly the culprit. You can try running your docker after runningsetenforce 0. This will temporarily disable it until a restart IIRC. You can enable it again by setting it to 1.I wouldn’t recommend disablint it permanently