IPSEC_TNCFG(8) IPSEC_TNCFG(8)
NAME
ipsec(5,8) tncfg(5,8) - associate IPSEC virtual(5,8) interface with physical interface
SYNOPSIS
ipsec(5,8) tncfg(5,8)
ipsec(5,8) tncfg(5,8) --attach --virtual virtual(5,8) --physical physical
ipsec(5,8) tncfg(5,8) --detach --virtual virtual(5,8)
ipsec(5,8) tncfg(5,8) --clear
ipsec(5,8) tncfg(5,8) --version
ipsec(5,8) tncfg(5,8) --help
DESCRIPTION
Tncfg attaches/detaches IPSEC virtual(5,8) 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(5,n)/net/ipsec_tncfg. The format of /proc(5,n)/net/ipsec_tncfg is dis-
cussed in(1,8) ipsec_tncfg(5). The --attach form attaches the virtual(5,8)
interface to the physical one. The --detach form detaches the virtual(5,8)
interface from whichever physical interface it is attached to. The
--clear form clears all the virtual(5,8) 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.
EXAMPLES
ipsec(5,8) tncfg(5,8) --attach --virtual ipsec0 --physical eth0
attaches the ipsec0 virtual(5,8) device to the eth0 physical device.
FILES
/proc(5,n)/net/ipsec_tncfg, /usr/local/bin/ipsec(5,8)
SEE ALSO
ipsec(5,8)(8), ipsec_manual(8), ipsec_eroute(8), ipsec_spi(8), ipsec_spi-
grp(8), ipsec_klipsdebug(8), ipsec_tncfg(5)
HISTORY
Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by
Richard Guy Briggs.
21 Jun 2000 IPSEC_TNCFG(8)