hi there,
I am using openvpn server on my centos box without any problem. I am using push "redirect-gateway" option to route all traffic on the server from remote windows clients but when i push default route 0.0.0.0 0.0.0.0 the metric value comes 30 and the default route from modem comes 25. So is it possible to push metric with push "redirect-gateway" option? I've tried some options but it does not work.
Thanks.
change metric
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: change metric
use
Code: Select all
push "route-metric N"