Hello,
I'm wanting to use ExpressVPN in an Ubuntu container, but I cannot get it to connect. I reached out the ExpressVPN support, and they told me that they don't officially support containers, so they would not help me troubleshoot.
Looking at the diagnostics, this stands out to me:
ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
I think there is some issue creating the tunnel, and searching the forums, I found a similar issue (a new user can't post external links, so I will summarize what they suggested):
Add the following to your container config file in /var/lib/lxc/[container]/config
lxc.mount.entry = /dev/net/tun dev/net/tun none bind,create=file
I tried to edit my config file, but it appears to get overwritten every time I launch the container, so I found this thread about adding to the config file so that it will persist, but I don't know the proper syntax to add the tunnel adapter.
Does anyone have any idea how to do this?
I'm wanting to use ExpressVPN in an Ubuntu container, but I cannot get it to connect. I reached out the ExpressVPN support, and they told me that they don't officially support containers, so they would not help me troubleshoot.
Looking at the diagnostics, this stands out to me:
ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
I think there is some issue creating the tunnel, and searching the forums, I found a similar issue (a new user can't post external links, so I will summarize what they suggested):
Add the following to your container config file in /var/lib/lxc/[container]/config
lxc.mount.entry = /dev/net/tun dev/net/tun none bind,create=file
I tried to edit my config file, but it appears to get overwritten every time I launch the container, so I found this thread about adding to the config file so that it will persist, but I don't know the proper syntax to add the tunnel adapter.
Does anyone have any idea how to do this?