DyonR / docker-Jackettvpn

Docker container which runs a headless Jackett Server with an optional WireGuard or OpenVPN connection
https://hub.docker.com/r/dyonr/jackettvpn/
GNU General Public License v3.0
68 stars 32 forks source link

ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) #45

Closed drop-middle-leaves closed 3 years ago

drop-middle-leaves commented 3 years ago

Any ideas? Running with two ethernet adapters if that is the issue? (One which goes between VMs and one external) https://pastebin.com/raw/bHnvSbud

My docker-compose file runs it as privileged as has previously been cited as an issue.

version: '3.3' services: jackettvpn: privileged: true volumes:

  • './config:/config'
  • '/home/admin/arr/bt-watch:/blackhole' environment:
  • VPN_ENABLED=yes
  • VPN_TYPE=openvpn
  • LAN_NETWORK=192.168.1.0/24
  • VPN_USERNAME=
  • VPN_PASSWORD= ports:
  • '9117:9117' restart: unless-stopped image: dyonr/jackettvpn
drop-middle-leaves commented 3 years ago

Had to enable tun via "modprobe tun" and "echo "tun" >> /etc/modules-load.d/tun.conf" due to my Alpine Linux host.