1IPSEC_TNCFG(8)                  [FIXME: manual]                 IPSEC_TNCFG(8)
2
3
4

NAME

6       ipsec_tncfg - manipulate KLIPS virtual interfaces
7

SYNOPSIS

9       ipsec tncfg
10             ipsec tncfg --create virtual
11             ipsec tncfg --delete virtual
12             ipsec tncfg --attach --virtual virtual --physical physical
13             ipsec tncfg --detach --virtual virtual
14             ipsec tncfg --clear
15             ipsec tncfg --version
16             ipsec tncfg --help
17

OBSOLETE

19       Note that tncfg is only supported on the classic KLIPS stack. It is not
20       supported on any other stack and will be completely removed in future
21       versions. A replacement command still needs to be designed
22

DESCRIPTION

24       The historical use of tncfg is to attach/detach IPsec virtual
25       interfaces (e.g. ipsec0) to/from physical interfaces (e.g. eth0)
26       through which packets will be forwarded once processed by KLIPS.
27
28       The modern use of tncfg is to create and delete virtual interfaces
29       known as mastXXX. mast stands for Mooring and XXX.
30
31       The form with no additional arguments lists the contents of
32       /proc/net/ipsec_tncfg. The format of /proc/net/ipsec_tncfg is discussed
33       in ipsec_tncfg(5).
34
35       The --attach form attaches the virtual interface to the physical one.
36
37       The --detach form detaches the virtual interface from whichever
38       physical interface it is attached to.
39
40       The --clear form clears all the virtual interfaces from whichever
41       physical interfaces they were attached to.
42
43       Virtual interfaces typically have names like ipsec0 or mast0 while
44       physical interfaces typically have names like eth0 or ppp0.
45

EXAMPLES

47       ipsec tncfg --create mast12
48           creates the mast12 device.
49
50       ipsec tncfg --create ipsec4
51           creates an ipsec4 device, but does not attach it.
52
53       ipsec tncfg --attach --virtual ipsec0 --physical eth0
54           attaches the ipsec0 virtual device to the eth0 physical device.
55

FILES

57       /proc/net/ipsec_tncfg, /usr/local/bin/ipsec
58

SEE ALSO

60       ipsec(8), ipsec_manual(8), ipsec_eroute(8), ipsec_spi(8),
61       ipsec_spigrp(8), ipsec_klipsdebug(8), ipsec_tncfg(5)
62

HISTORY

64       Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by
65       Richard Guy Briggs.
66
67
68
69[FIXME: source]                   10/06/2010                    IPSEC_TNCFG(8)
Impressum