NetworkManager » History » Version 1

Version 1/45 - Next » - Current version
Martin Willi, 20.08.2008 11:48

= !NetworkManager =

[ NetworkManager] allows configuration and control of VPN daemons through a plugin interface. We provide such a plugin for !NetworkManager to configure road warrior clients for the most common setups.

!NetworkManager uses DBUS to communicate to a Plugin loaded in the IKEv2 daemon charon.


The extensions are written for !NetworkManager 0.7, you'll need at least SVN r3925. Compile it from source, or as a Ubuntu user, use the [ avialable PPA]: {{{
echo "deb hardy main" >> /etc/apt/sources.list
aptitude install network-manager-gnome network-manager-dev libnm-util-dev libnm-glib-dev libgnomeui-dev # and everything I missed


NM integration works only for IKEv2, but this allows us to kick out a lot of legacy stuff. On a desktop we will have OpenSSL installed anyway, we pick that for crypto:

  1. get strongswan SVN
    svn co strongswan
    cd strongswan
  1. build charon with OpenSSL/NM Plugin
    ./configure --disable-aes --disable-des --disable-md5 --disable-sha1 --disable-sha2 \
    --disable-fips-prf --disable-gmp --disable-stroke --disable-pluto --disable-tools \
    --disable-updown --enable-openssl --enable-nm \
    --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib
    make install
  1. build NetworkManager's strongsSwan plugin
    cd src/charon/plugins/nm/gnome
    ./ --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib


Configuration * Click on nm-applet -> VPN Connections -> Confiugre VPN... * Add -> Ipsec/Ikev2 (strongswan) -> Create ... * Configure your client * Click on nm-applet -> VPN Connections -> Your Connection * Enter password