{{Open with root rights|filename= /etc/sudoers.d/tunnel_unpriv }} Edit the file so the text looks looks like the following code block. Note: This might include removing comments (#) and adding text. Do not remove the lines with double hashes (##).
tunnel ALL=(ALL) NOPASSWD: /bin/ip
tunnel ALL=(ALL) NOPASSWD: /usr/sbin/openvpn *
Defaults:tunnel !requiretty
Defaults:tunnel env_keep += script_type
Defaults:tunnel env_keep += dev
Save and exit.