Section: Executable programs (8)
ipsec_tncfg - manipulate KLIPS virtual interfaces
- 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
Note that tncfg is only supported on the KLIPS stack which uses ipsecX interfaces bound to physical interfaces
The purpose of
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).
form attaches the
interface to the
form detaches the
interface from whichever physical interface it is attached to.
form clears all the
interfaces from whichever physical interfaces they were attached to.
Virtual interfaces typically have names like
while physical interfaces typically have names like
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
virtual device to the
ipsec(8), ipsec_eroute(8), ipsec_spi(8), ipsec_spigrp(8), ipsec_klipsdebug(8), ipsec_tncfg(5)
Written for the Linux FreeS/WAN project <m[blue]http://www.freeswan.org/m> by Richard Guy Briggs.
placeholder to suppress warning