Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

Following this guide: https://forums.unraid.net/topic/89649-683-use-network-from-vpn-docker/

I am trying to set up the docker container OVPN_Privoxy, what should I be using for the Network type and LOCAL_NET values?

 

When I use br0 or bridge I get: ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

it works fine on host for networking mode, but I don't want all the containers to use the vpn, just select ones. 

11 hours ago, ToddCat said:

Following this guide: https://forums.unraid.net/topic/89649-683-use-network-from-vpn-docker/

I am trying to set up the docker container OVPN_Privoxy, what should I be using for the Network type and LOCAL_NET values?

 

When I use br0 or bridge I get: ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

it works fine on host for networking mode, but I don't want all the containers to use the vpn, just select ones. 

may take a look at extra parameters

 

--cap-add=NET_ADMIN --device /dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0

 

if this is there ...

  • Author
1 hour ago, alturismo said:

may take a look at extra parameters

 

--cap-add=NET_ADMIN --device /dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0

 

if this is there ...

Thank you for the reply, yes that is exactly what is already there.

Edited by ToddCat

  • Author

Ok so for anyone else facing this issue, I am not 100% on how I fixed it, but I reset my network adaptor settings and enabled vlans and restarted.

  • 4 weeks later...

I'm having that issue and I've tried resetting network settings and enabling vlans. No luck. Any ideas?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.