User Tools

Site Tools


proxmox:vpn:allow_openvpn_to_create_a_tun_device

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
proxmox:vpn:allow_openvpn_to_create_a_tun_device [2021/06/14 22:43] peterproxmox:vpn:allow_openvpn_to_create_a_tun_device [2021/06/14 22:44] (current) – [Allow this for a specific container] peter
Line 13: Line 13:
 Add these lines to **/etc/pve/lxc/<container-id>.conf**: Add these lines to **/etc/pve/lxc/<container-id>.conf**:
  
-<file bash /etc/pve/lxc/<container-id>.conf>+<file bash>
 lxc.cgroup.devices.allow = c 10:200 rwm lxc.cgroup.devices.allow = c 10:200 rwm
 lxc.hook.autodev = sh -c "modprobe tun; cd ${LXC_ROOTFS_MOUNT}/dev; mkdir net; mknod net/tun c 10 200; chmod 0666 net/tun" lxc.hook.autodev = sh -c "modprobe tun; cd ${LXC_ROOTFS_MOUNT}/dev; mkdir net; mknod net/tun c 10 200; chmod 0666 net/tun"
 </file> </file>
  
proxmox/vpn/allow_openvpn_to_create_a_tun_device.1623710632.txt.gz · Last modified: 2021/06/14 22:43 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki