Prevent any direct internet traffic when OpenVPN is down

Just manually configure your IP address settings and remove the default gateway. When OpenVPN is up, you’ll be assigned that tunnel as the default gateway and when it’s down, it will fall back to the original settings where there isn’t one.