The subject line should say it all, but to reiterate, I want to
ignore any default route directive from the server, accepting
all other route directives.
I do not have the ability to reconfigure the server. It is part of a different organization and out of my control.
I am using Ubuntu Linus and I can achieve what I want with
sudo route delete default tun0, but it has been very frustrating to have to do this manually every time, especially because it is not an always-on VPN and I enable it through the Ubuntu system tray.
I've read the manual, the howtos, and the sample config (only a very sparse one for client-side), and this page:
https://community.openvpn.net/openvpn/wiki/IgnoreRedirectGateway
none of which had this specific answer.
I looked at the route-related options
redirect-gateway,
route-nopull, and
route-gateway, but got nowhere.
So, to sum it up, I want to configure the client to avoid installing a default route to the VPN gateway that the server is attempting to install, but to accept all other route directives. This is because the remote network has several subnets other than the one in which the VPN endpoint is associated with that I need to be able to access.