Ian D. Bjorhovde wrote:
I do not run into this issue if I use the UDP client.
this, IS strange ...
If I change the permissions of the key file (i.e. mode 666), I don't
get an error (rather a warning about open permissions on the key file),
but then I get the same permission denied error when trying to open the
TUN device (/dev/net/tun, mode 0600 owner: root).
put a chgrp nogroup/nobody on /dev/net/tun and keys with a chmod 640 for
keys and 660 for tun and it will be ok
something like that
# ll /dev/net/tun
crw-rw-r-- 1 nobody root 10, 200 Oct 3 2002 /dev/net/tun
Regards
Julien