Tncfg
attaches/detaches IPSEC virtual interfaces to/from
physical interfaces,
through which packets will be forwarded once processed by IPSEC.
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,
while physical interfaces typically have names like
eth0
or
ppp0.