Post

Synology Wireguard: missing /dev/net/tun

After updating the DSM version of my Synology NAS, I encountered the following error which prevented the wg_hideme_privoxy container from starting.

1
error gathering device information while adding custom device "/dev/net/tun": no such file or directory

This GitHub post helped fix the issue by manually creating the TUN device.

1
2
3
4
5
# Create the TUN device
mknod /dev/net/tun c 10 200
chmod 0755 /dev/net/tun
# Load the TUN module
insmod /lib/modules/tun.ko
This post is licensed under CC BY 4.0 by the author.