[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Windows 2003 and OpenVPN Routing Issues


  • Subject: Re: [Openvpn-users] Windows 2003 and OpenVPN Routing Issues
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Tue, 11 Jan 2005 20:02:51 -0700 (MST)

On Wed, 12 Jan 2005, David Legg wrote:

> Hi,
> 
> I've been having a routing issue with OpenVPN and Windows 2003 that's 
> taken me hours to find because I just didn't see it. OpenVPN is up and 
> running fine, encryption is fine, client and server are happy. However, 
> I just couldn't ping or get any network traffic through the interface.
> 
> To troubleshoot I ran exactly the same OpenVPN configuration as a server 
> on a Windows XP SP2 machine locally, pointed the client at it and 
> instant network traffic - working. I re-ran it on the Windows 2003 
> server and no joy. I began to look long and hard at my routing tables, 
> as when I pinged my client VPN address it wanted to pass the traffic off 
> to the default gateway, so it wasn't going through the VPN interface. I 
> noticed on the XP machine that a route was created for the 192.168.0.0 
> network (my private VPN network), subnet mask of 255.255.255.0 with a 
> gateway of 192.168.0.2 (the gateway set by ifconfig 192.168.0.1 
> 192.168.0.2 in the config file) and a metric of 1. The XP machine as a 
> server worked fine. On Windows 2003 it creates everything else but 
> doesn't create this route, and no matter how many times I restarted 
> OpenVPN it would not add it. When I created it manually using 'route 
> add' the VPN started working absolutely instantly.

Was there an OpenVPN error in the log file when it tried to add the route?

Also, try --route-method exe and see if that fixes the problem.

James



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users