Recently I’ve installed a VPN on my RaspberryPI 3b running Batocera 30.
At first, it doesn’t work and after searching why, I’ve discovered that OpenVPN need to access to /dev/net/tun but in Batocera for RPI3b, the /dev/net/tun doesn’t exists but only /dev
So, ok, I’ve created it in SSH with this 3 lines script:
mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun
After this OpenVPN was working perfectly.
Unfortunately, after reboot, all was gone, no more /dev/net/tun and I have to restart the 3 lines script.
Is there a way to make this (/dev/net/tun) permanent ?