Timeline for How to run openvpn in a LXC container inside debian host?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 20, 2020 at 17:14 | comment | added | baptx |
Note that you have to add this in the container configuration, for example .local/share/lxc/debian/config (replace debian with your container name). I was wondering why it did not work because I added this line in .config/lxc/default.conf instead. By the way, I noticed a configuration like lxc.mount.entry = /dev/net dev/net none bind,create=dir (from wiki.archlinux.org/index.php/…) works also. Is this solution better than lxc.mount.entry = /dev/net/tun dev/net/tun none bind,create=file from your answer? Creating the file seems not needed.
|
|
Jan 28, 2019 at 19:36 | comment | added | baptx | Thanks, this worked for me but don't forget to run openvpn as root inside of the container (I forgot to use sudo and thought the problem came from somewhere else). | |
May 4, 2017 at 9:23 | vote | accept | omega | ||
May 3, 2017 at 15:06 | history | answered | omega | CC BY-SA 3.0 |