I have found the easiest method for using openvpn is with Zomboided’s VPN Manager plugin:
It works for me with OSMC on a RPi3 without any tweaking.
It has pre-configured profiles for many VPN providers but if your provider isn’t listed, it has a “User Defined” setup wizard to allow you to add a provider.