Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-28-2008, 02:50 PM   #1
Registered: Sep 2005
Posts: 861

Rep: Reputation: 30
OpenVPN sometimes does not forward all traffic to server


I have successfully installed OpenVPN on both my Windows Vista and a VMWare of Windows XP and Ubuntu. I have setup my VPN client to redirect gateway and forward all traffic thru the tunnel. Now, I was just wondering why it is not working all the time. When I do a traceroute to a specific site, sometimes the 1st hop is the VPN gateway and sometimes its my local router's IP address. How can I set it in such a way that it will redirect all traffic thru the tunnel and not use the DNS of my local server? Thanks.
Old 06-28-2008, 04:13 PM   #2
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
Looks like a routing problem. OpenVPN doesn't flush the network metrics thus my local gateway has the lowest metric (higher priority) than the VPN tunnel. Does anyone tried setting up OpenVPN in client in Vista? Is OpenVPN capable of overriding the current network metrics and assign the tunnel interface a higher priority so that it routes everything thru the tunnel? When I have tried to change the network metrics, the traffic miraculously being routed thru the tunnel which is good. But I am not sure if this can be done automatically by OpenVPN. Any ideas? Thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
Iptables/TC: how to make masqueraded traffic go through an openVPN tun0? theVOID Linux - Networking 3 04-25-2008 03:34 AM
iptables: forward traffic through server Swakoo Linux - Networking 3 03-30-2008 11:59 PM
how can I audit traffic through openvpn jlarsen Linux - Software 3 03-26-2008 05:28 PM
OpenVPN forward through firewall to VPN endpoint and rerouted back in? Lantzvillian Linux - Networking 2 02-17-2008 06:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration