ipsec(8) [centos man page]
IPSEC(8) Executable programs IPSEC(8) NAME
ipsec - invoke IPsec utilities SYNOPSIS
ipsec command [argument...] ipsec --help ipsec --version ipsec --versioncode ipsec --copyright ipsec --directory ipsec --confdir DESCRIPTION
Ipsec invokes any of several utilities involved in controlling the IPsec encryption/authentication system, running the specified command with the specified arguments as if it had been invoked directly. This largely eliminates possible name collisions with other software, and also permits some centralized services. ipsec --help lists the available commands. Most have their own manual pages, e.g. ipsec_auto(8) for auto. ipsec --version outputs version information about Linux FreeS/WAN. A version code of the form ``Uxxx/Kyyy'' indicates that the user-level utilities are version xxx but the kernel portion appears to be version yyy (this form is used only if the two disagree). ipsec --versioncode outputs just the version code, with none of --version's supporting information, for use by scripts. ipsec --copyright supplies boring copyright details. ipsec --directory reports where ipsec thinks the IPsec utilities are stored. ipsec --confdir reports where ipsec thinks the IPsec configuration files are stored. FILES
/usr/local/lib/ipsec usual utilities directory SEE ALSO
ipsec.conf(5), ipsec.secrets(5), ipsec_auto(8), ipsec_barf(8), ipsec_setup(8), ipsec_showhostkey(8) HTML documentation shipped with the release, starting with doc/index.html. <http://www.freeswan.org/doc.html> may also be of use. HISTORY
Written for Linux FreeS/WAN <http://www.freeswan.org> by Henry Spencer. BUGS
The provision of centralized services, while convenient, does compromise the original concept of making the utilities invocable directly as well as via ipsec. AUTHOR
Paul Wouters placeholder to suppress warning libreswan 12/29/2012 IPSEC(8)
Check Out this Related Man Page
IPSEC_TNCFG(8) Executable programs IPSEC_TNCFG(8) NAME
ipsec_tncfg - manipulate KLIPS virtual interfaces SYNOPSIS
ipsec tncfg ipsec tncfg --create virtual ipsec tncfg --delete virtual ipsec tncfg --attach --virtual virtual --physical physical ipsec tncfg --detach --virtual virtual ipsec tncfg --clear ipsec tncfg --version ipsec tncfg --help KLIPS
Note that tncfg is only supported on the KLIPS stack which uses ipsecX interfaces bound to physical interfaces DESCRIPTION
The purpose of tncfg is to attach/detach IPsec virtual interfaces (e.g. ipsec0) to/from physical interfaces (e.g. eth0) through which packets will be forwarded once processed by KLIPS. When using the MAST stack, tncfg is used to create and delete virtual interfaces known as mastXXX. mast stands for Mooring and XXX. The form with no additional arguments lists the contents of /proc/net/ipsec_tncfg. The format of /proc/net/ipsec_tncfg is discussed in ipsec_tncfg(5). The --attach form attaches the virtual interface to the physical one. The --detach form detaches the virtual interface from whichever physical interface it is attached to. The --clear form clears all the virtual interfaces from whichever physical interfaces they were attached to. Virtual interfaces typically have names like ipsec0 or mast0 while physical interfaces typically have names like eth0 or ppp0. EXAMPLES
ipsec tncfg --create mast12 creates the mast12 device. ipsec tncfg --create ipsec4 creates an ipsec4 device, but does not attach it. ipsec tncfg --attach --virtual ipsec0 --physical eth0 attaches the ipsec0 virtual device to the eth0 physical device. FILES
/proc/net/ipsec_tncfg, /usr/local/bin/ipsec SEE ALSO
ipsec(8), ipsec_manual(8), ipsec_eroute(8), ipsec_spi(8), ipsec_spigrp(8), ipsec_klipsdebug(8), ipsec_tncfg(5) HISTORY
Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by Richard Guy Briggs. AUTHOR
Paul Wouters placeholder to suppress warning libreswan 12/16/2012 IPSEC_TNCFG(8)