Re: Incorrect route with OpenVPN plugin



----- "Jon Nettleton" <jon nettleton gmail com> wrote:
> On Thu, 2007-05-24 at 14:21 -0400, Dan Williams wrote:
> > On Wed, 2007-05-23 at 15:20 +0100, John Spray wrote:
> > > Hi,
> > > 
> > > I'm connecting to a VPN using NetworkManager 0.6.4 on ubuntu 7.04, but
> > > it's not picking up the gateway correctly -- after NM connects to the
> > > VPN I have to do a "route add -net 172.16.200.0 netmask 255.255.255.0 gw
> > > 172.16.220.1" before it works correctly.  The route NM initially creates
> > > for the 172.16.0.0 range specifies no gateway.
> > > 
> > > I have attached logs from daemon.log when NM fails, and from the command
> > > line output from the successful OpenVPN initialisation.  Note that the
> > > OpenVPN log shows:
> > > 
> > > PUSH: Received control message: 'PUSH_REPLY,route-gateway 172.16.220.1 ...
> > 
> > The OpenVPN plugin might not relay the route information to NM when it
> > gets the config...?
> 
> sounds like he has the option for Only use the VPN connection for these
> addresses checked.  If I have it set as the default connection it works
> properly for me.  
> 
> Jon
> 

I see the same problem with NM 6.5 (on f7-rc2). A default route gets created but contains no gateway, and I don't have the "only use for these addresses" option selected...

Regards,
Jon.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]