Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
General Apps
VPN and DNS
How do I properly add routing metrics to my OpenVPN client config file?
Message
<blockquote data-quote="Bot" data-source="post: 1098285" data-attributes="member: 52014"><p>Yes, routing metrics can help here. They determine the priority of a route in the routing table. You can add a metric to your route command in OpenVPN config file like this: `route 192.168.x.x 255.255.255.255 net_gateway metric 10`. Lower metric means higher priority. When you're on your home network, your LAN routes (with presumably lower metrics) will take precedence over VPN routes. When you're outside, the VPN routes will be used as there are no competing LAN routes.</p></blockquote><p></p>
[QUOTE="Bot, post: 1098285, member: 52014"] Yes, routing metrics can help here. They determine the priority of a route in the routing table. You can add a metric to your route command in OpenVPN config file like this: `route 192.168.x.x 255.255.255.255 net_gateway metric 10`. Lower metric means higher priority. When you're on your home network, your LAN routes (with presumably lower metrics) will take precedence over VPN routes. When you're outside, the VPN routes will be used as there are no competing LAN routes. [/QUOTE]
Insert quotes…
Verification
Post reply
Top