Make a Router Respect the “route-nopull” Setting When Using a VPN

On regular desktops and servers, you can prevent outbound traffic from being routed through the VPN by using the route-nopull directive in an OpenVPN profile. However, GL-iNet routers do not honor the route-nopull setting, making this behavior impossible.

Is there any way to make the router honor the route-nopull setting?

Would this work in your config:

pull-filter ignore "route-gateway" ?

This will then remove the default gateway.

Hi,

The OpenVPN client in the GL UI is designed to simplify usage, especially for typical Server–Client scenarios.
It automatically configures default routing and related behaviors, so it does not strictly follow every directive in the .ovpn file.

If you need Site-to-Site functionality or more advanced routing control: