OpenVPN route all traffic except select local subnets

Solution 1:

As mentioned in the comments by @dotvotdot the LAN on which your computer is present won't be routed through the VPN tunnel. This is normal behaviour. If you want to reach "local subnets", that is I guess networks which are not your LAN and not accessible through the tunnel itself, you might want to use the net_gateway keyword which represents your local gateway. That way, the routing will be made by your local router and not the VPN server.

See the example below where the traffic for the 10.59.0.0/16 network should not go through the VPN tunnel.

push "redirect-gateway def1 bypass-dhcp"
push "route 10.59.0.0 255.255.0.0 net_gateway"