Reject pushed directives (eg. routes) via client config

This is where we can discuss what we would like to see added or changed in OpenVPN.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Locked
petiepooo
OpenVpn Newbie
Posts: 11
Joined: Tue Oct 26, 2010 10:08 am

Reject pushed directives (eg. routes) via client config

Post by petiepooo » Tue Oct 26, 2010 10:15 am

It would be nice to be able to reject specific routes from the client side that are pushed by the server. Say 5 routes are pushed but one of them is redundant or specifies the network the client is already on. For example, a
reject "route 10.1.20.0 255.255.255.0"
directive line in the client config to counteract the server's corresponding push directive.

I know the same thing can be done with CCDs, but sometimes the client user doesn't have control over the VPN setup. One could also call a script before route injection which could filter out the offending route, but that's not so easy on Windows clients.

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Reject pushed directives (eg. routes) via client config

Post by krzee » Tue Oct 26, 2010 10:44 am

i agree... it would also be nice if we could reject "redirect-gateway"

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Reject pushed directives (eg. routes) via client config

Post by krzee » Mon Dec 19, 2016 5:50 pm

we now have --pull-filter
this wish is fulfilled!

Locked