Customize Routing Rules

in Customize Routing Rules, when i configure some routes for OpenVPN it doesn't stay with all the other OpenVPN profiles but just with the one I set for. is there any possible to make the mentioned routes available with all the other vpn profiles for openvpn.

Do you mean Open VPN Server on GL router?

If yes, you can add custom routing rules in this script, and it will push the rules to the connected client by a push way.

/lib/netifd/proto/ovpnserver.sh

Example:

1 Like

@bruce, no im looking to add routes on just openvpn client. Im not running any openvpn server

OK, let us say the OpenVPN client.

If you need to the custom route rule in the OpenVPN, you can add it in the profile before you upload/import to GL OpenVPN client.

And the VPN Proxy mode have to select the Auto detect.

The routing rules added is related to the content of profile, and profile is generated by OpenVPN Server, not Client.

can we make the customize routing rules added consistent for all the profiles?

or share me the location of the file where these customize routing rules are added so that i add them manually