Re: vpnc plugin

On Tue, May 18, 2010 at 12:04 AM, Dan Williams <dcbw redhat com> wrote:
> On Mon, 2010-05-17 at 12:36 -0500, Greg Oliver wrote:
>> Well, I found the config files in gconf finally.  I forgot they were
>> "mixed" in with non-vpn connections.  The IPs are all stored in
>> decimal though..  Does anyone know if it is possible to change, and if
>> so what type of string do I need to set the entry to to point the
>> gateway to tun0?
> This isn't going to work since the IP address/prefix/gw triplet has to
> be numeric.  At some point we'll switch them over to just strings
> (there's a patch to do that already) but that's not going to help you
> much since it still won't take an interface.  Nobody should ever have to
> enter an interface name anywhere, especially since the interface won't
> always be tun0.
> I'm 99% certain the routes list does *not* require a gateway, in fact I
> just tested that and it shouldn't need one.  What exactly happens when
> you just don't enter a gateway in the Routes... dialog?

Well, you can bump that to 100%

I would have never thought to try that, but it works like a charm.
After I read the wiki and that pointed me to the code which was all
uint on those fields, I was deflated.  Thanks a bunch - I just spent
my morning removing all of my gateways in my .gconf subdirectory and
it is great.

Thanks Dan!


> Dan
>> Thanks!
>> > Anyone know of a workaround for this where I can just add a route like so:
>> >
>> > route add -net gw tun0
>> >
>> > either from the gui, or like I said even the config file for the
>> > connection so it is applied when the connection goes live?
>> >
>> > Thanks
>> >
>> > -Greg
>> >
>> _______________________________________________
>> networkmanager-list mailing list
>> networkmanager-list gnome org

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