Opening utun (connect(AF_SYS_CONTROL)): Operation not permitted openvpn Mac

The issue:

In our project when we were trying to install openvpn on Mac we got into the this issue.

Opening utun (connect(AF_SYS_CONTROL)): Operation not permitted openvpn Mac

Openvpn is the tool that allows us to connect to a remote server using VPN. After installing the openvpn on mac we tried to run the following command to connect to VPN.

$ openvpn client.ovpn

The reason:

This issue happened because it needs administrative privileges to run openvpn command.

The solution:

We had to run the command using as a sudoer user.

$ sudo openvpn client.ovpn
Share