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.
Reject pushed directives (eg. routes) via client config
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Oct 26, 2010 10:08 am
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: Reject pushed directives (eg. routes) via client config
i agree... it would also be nice if we could reject "redirect-gateway"
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: Reject pushed directives (eg. routes) via client config
we now have --pull-filter
this wish is fulfilled!
this wish is fulfilled!