You can see if Openswan is properly installed by issuing the following command:
# ipsec ––version
Linux Openswan 2.4.1 (klips) See `ipsec --copyright' for copyright information.
If you did not install KLIPS, but plan to use NETKEY, the output will look slightly different:
Linux Openswan U2.4.1dr1/K2.6.11-1.27_FC3 (netkey) See `ipsec --copyright' for copyright information.
If you just installed Openswan, you might not have an IPsec stack loaded yet, in which you will see the following:
Linux Openswan U2.4.1/K(no kernel code presently loaded) See `ipsec --copyright' for copyright information.
You should further have a skeleton configuration file in /etc/ipsec.conf
, and for most distributions there will also be a freshly generated /etc/ipsec.secrets
. Some additional directories and configuration files can be found in /etc/ipsec.d
. The programs, apart from the
ipsec
command that will be installed in /usr/sbin
or /usr/local/sbin
, are all installed in /usr/lib/ipsec...