Thanks,
what I want to do is to configure the server to handle the client's browsing unless the client wants to use its normal gateway.
In that case the tunnel should only be used to access the devices on the remote network but not reach further.
This cannot be set on the server side but has to be blocked on the client side.
The server must always push the gateway change as shown above but the client should be able to refuse the push.
So in the case of a phone using the OpenVPN server, its ovpn file should just have the normal stuff and once connected its traffic to the Internet should go through the tunnel as well as the traffic to the remote network.
But in the case of the Windows PC sitting on my home LAN I don't want the Internet traffic go through the tunnel because I have a much better fiber connection here, so I would like to modify the ovpn file with some command (which?) that will not accept the server push for gateway modification.
I tried to find that in the manual for 2.4 but it is way too dense for me to understand...
So could you please tell me what to write into the client ovpn file in order to block the server side push for gateway change??
Should it maybe be:
pull-filter ignore "route-gateway"