[Solved] PBR unset default Route to openvpn

i have already configured PBR with both WG and openvpn.

i have read the readme of pbr and managed to get my wan IF as default but when it comes to openvpn im finding it hard to unset ovpn as defualt IF.

To unset an OpenVPN tunnel as default route, set the following to the appropriate section of your .ovpn file:

i dont know what would be the appropriate section of ovpn file

anyone please help to me set my wan IF as default IF

im using proton vpn free server ovpn

Add pull-filter ignore redirect-gateway (let's say) at the beginning of the openvpn client configuration file.

If it doesn't work, try replacing it with route-nopull.

1 Like

thanks it worked

1 Like

This information is also part of PBR README.

1 Like

yes but it wasn't exactly mention where to add these lines pull-filter ignore redirect-gateway.

it is only showing to add these lines to appropriate section.