source: rtems-libbsd/ipsec-tools/src/racoon/samples/roadwarrior/README @ ff36f5e

Last change on this file since ff36f5e was ff36f5e, checked in by Christian Mauderer <christian.mauderer@…>, on May 30, 2018 at 12:27:35 PM

Import ipsec-tools 0.8.2.

Import unchanged ipsec-tools sources in the release version 0.8.2. The
homepage of ipsec-tools is The
sources can be obtained from there.

  • Property mode set to 100644
File size: 2.7 KB
1This directory contains sample configurations files used for roadwarrior
2remote access using hybrid authentication. In this setup, the VPN
3gateway authenticates to the client using a certificate, and the client
4authenticates to the VPN gateway using a login and a password.
6Moreover, this setup makes use of ISAKMP mode config to autoconfigure
7the client. After a successful login, the client will receive an
8internal address, netmask and DNS from the VPN gateway.
11Server setups
13The server setups need racoon built with the following options:
14configure --enable-natt --enable-frag --enable-hybrid --enable-dpd \
15          --with-libradius --sysconfdir=/etc/racoon
17The first server setup, in server/racoon.conf, is for a VPN gateway
18using authentication against the system password database, and using
19a locally configured pool of addresses.
21The second setup, server/racoon.conf-radius, uses a RADIUS server for
22authentication, IP allocation and accounting. The address and secret
23to be used for the RADIUS server are configured in /etc/radius.conf,
24see radius.conf(5).
26Both configurations can be used with the Cisco VPN client if it
27is set up to use hybrid authentication (aka mutual group authentication,
28available in Cisco VPN client version 4.0.5 and above). The group
29password configured in the Cisco VPN client is not used by racoon.
31After you have installed /etc/racoon/racoon.conf, you will also have
32to install a server certificate and key in /etc/openssl/certs/server.crt
33and /etc/openssl/certs/server.key
36Client setup
38The client setup needs racoon built with the following options:
39configure --enable-natt --enable-frag --enable-hybrid --enable-dpd \
40          --enable-adminport --sysconfdir=/etc/racoon --localstatedir=/var
42You need to copy client/racoon.conf, client/ and
43client/ to /etc/racoon, and you need to copy the
44certificate authority that signed the VPN gateway certificate in
47Once this is done, you can run racoon, and then you can start
48the VPN using racoonctl:
49racoonctl vc -u username
51Where username is your login, and is
52the DNS or IP address of the VPN gateway. racoonctl will prompt
53you for the password.
55The password can be stored in the psk.txt file. In that situation,
56add this directive to the remote section of racoon.conf:
57         xauth_login "username";
58where username is your login.
60Note that for now there is no feedback in racoonctl if the authentication
61fails. Peek at the racoon logs to discover what goes wrong.
63In order to disconnect from the VPN, do this:
64racoonctl vd
66This configuration should be compatible with the Cisco VPN 3000 using
67hybrid authentication, though this has not been tested.
Note: See TracBrowser for help on using the repository browser.