Re: OpenVPN support
- From: Dan Williams <dcbw redhat com>
- To: Pierre Ossman <drzeus-list drzeus cx>
- Cc: networkmanager-list gnome org
- Subject: Re: OpenVPN support
- Date: Fri, 15 Jul 2005 20:06:45 -0400 (EDT)
On Sat, 16 Jul 2005, Pierre Ossman wrote:
> David Zeuthen wrote:
>
> >Cool, that sounds very good. As Dan mentioned, I did look at this but I
> >didn't write any code at all for it. I've been meaning to fill out
> >
> > http://cvs.gnome.org/viewcvs/NetworkManager/vpn-daemons/README?rev=1.1&view=markup
> >
> >at some point, right now it only says "The API for the VPN extensions
> >points should be mentioned here" :-). Give me a few days and I'll write
> >up something about the general design decisions and the specific
> >interfaces we have in place... (and please do remind me if it's not
> >there before Monday night eastern time).
> >
> >
>
> Until then I have one initial question. Is it possible to use NMs DHCP
> code for the VPN connections? OpenVPN either has user provided IP
> addresses or DHCP whilst vpnc seems to have IP address selection as part
> of the protocol.
Hmm, not without a bit of work. However, remember that dhcdbd can talk to any
interface at all. So what you _could_ do is to get dhcdbd to run a DHCP
transaction on your "tun0" interface, query it for the relevant DHCP numbers
after its done, and then publish that information to NetworkManager. I don't
think NM would even have to be involved because NM only tracks the information
and events for devices it cares about, which doesn't include tunnel devices
right now.
You should just be able to do this over dbus from your VPN client manager
daemon, you could use the code in NetworkManager as an example of how to do
that.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]