Re: VPN "Only for this address range" equivalent



On Thu, 2008-10-30 at 13:09 -0400, Matthew Saltzman wrote:
> On Thu, 2008-10-30 at 00:12 -0400, Dan Williams wrote:
> > On Wed, 2008-10-29 at 15:10 -0700, Jonathan wrote:
> > > In the old NetworkManager I could set a range of addresses to use the
> > > VPN connection for and have the rest not use it.  I don't see this
> > > equivalent in the 0.7.0.
> > > 
> > > Is there somewhere I can configure this?  I basically only want it to
> > > use the VPN for all addresses on a certain domain.
> > 
> > You can add custom routes in the IPv4 tab of the connection editor for
> > the VPN connection.  You can also check "ignore automatically provided
> > routes" if you don't care what the server sends you.
> 
> Is there some way to see what the server has sent me when a connection
> is active?

It's in the logs when you connect the VPN.  If it doesn't show up here,
either the VPN plugin doesn't interpret that feature, or the server
isn't sending it.

NetworkManager: <info>  VPN connection 'My VPN' (IP Config Get) reply received.
NetworkManager: <info>  VPN Gateway: 1.1.1.1
NetworkManager: <info>  Tunnel Device: tun0
NetworkManager: <info>  Internal IP4 Address: 10.0.0.5
NetworkManager: <info>  Internal IP4 Prefix: 23
NetworkManager: <info>  Internal IP4 Point-to-Point Address: 10.0.0.5
NetworkManager: <info>  Maximum Segment Size (MSS): 0
NetworkManager: <info>  Static Route: 10.0.0.0/8   Next Hop: 10.0.0.0
NetworkManager: <info>  Static Route: 172.16.0.0/17   Next Hop: 172.16.0.0
NetworkManager: <info>  Static Route: 192.168.0.0/17   Next Hop: 192.168.0.0
NetworkManager: <info>  Internal IP4 DNS: 10.0.0.1
NetworkManager: <info>  Internal IP4 DNS: 10.0.0.2
NetworkManager: <info>  DNS Domain: '(none)'

Dan




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