VPN profiles for MacOS

Hi all,

I noticed that when trying to load a VPN client profile for a lab on a MacOS Monterey while using OpenVPN v3 I get the following error.

“option_error: proto_option_error: TAP mode is not supported”

It seems that Apple no longer supports TAP interfaces in recent versions of Mac OS, favouring the use of TUN interfaces instead.

The question is, is it possible to generate an OpenVPN client profile that includes the use of TUN over TAP?
In my understanding for this to work, the change has to be done in both client side and server side, I can’t simply change the “dev” entry in the client profile from “TAP” to “TUN”, I tried it with no success.

Please let me know.