change metric

Need help configuring your VPN? Just post here and you'll get that help.

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.
Post Reply
iozatay
OpenVpn Newbie
Posts: 1
Joined: Tue Nov 08, 2011 10:26 pm

change metric

Post by iozatay » Tue Nov 08, 2011 10:31 pm

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.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: change metric

Post by janjust » Wed Nov 09, 2011 7:09 am

use

Code: Select all

push "route-metric N"

Post Reply