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

RE: [Openvpn-users] Route add fail with IPAPI and PPP.

  • Subject: RE: [Openvpn-users] Route add fail with IPAPI and PPP.
  • From: "Andrew J. Richardson" <andrew@xxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Sat, 22 Jan 2005 09:09:09 -0500
  • Importance: Normal

> > Before I start digging into the problem that seems to occur when 
> > OpenVPN
> > tries to add routes on Windows via IPAPI when using a PPP or PPPoE 
> > adapter, there's something I'd like to have explained to me.
> I think I figured it out!  The endpoint of the PPP link is 
> considered to 
> be "local" by Windows, so dwForwardType in the 
> must be set to 3 instead of 4 prior to the CreateIpForwardEntry call.
> Patch attached.

That fixed it!  I'm able to use the redirect-gateway directive with a PPP
connection as successfully as with an ethernet segment.  Thank you!


Openvpn-users mailing list