Linux/Proxmox: Enable /dev/net/tun for hamachi

PHOTO EMBED

Mon Aug 29 2022 20:03:10 GMT+0000 (UTC)

Saved by @marcopinero #bash

From server console:

$> nano /etc/pve/lxc/{machine id, ex:100}.conf

add: 

lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net dev/net none bind,create=dir

$> chown 100000:100000 /dev/net/tun
$> chmod 666 /dev/net/tun

$> ls -l /dev/net/tun

Restart machine
content_copyCOPY