There is a Ubuntu machine, which connects via OpenVPN on a working network, IP is given by DHCP and is always different. Now all traffic goes through the VPN server, regardless of the purpose. For example, browsing or torrents.
I would like to limit the routing so that the VPN connection was traffic intended directly for the production network and no other.
The idea can write a simple script that will remove the path created by the OpenVPN client, and recreate a new one, but I think there is already a ready solution that I just haven't found.