How to force all traffic through VPN?

A virtual private network (VPN) creates a secure connection between a computing device and a computer network or between two networks using an insecure communication medium such as the public Internet.

If you want to configure this on the client side, put

redirect-gateway def1

in your client.ovpn file.