1IPSEC_TNCFG(8)                Executable programs               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

KLIPS

19       Note that tncfg is only supported on the KLIPS stack which uses ipsecX
20       interfaces bound to physical interfaces
21

DESCRIPTION

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

EXAMPLES

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

FILES

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

SEE ALSO

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

HISTORY

63       Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by
64       Richard Guy Briggs.
65

AUTHOR

67       Paul Wouters
68           placeholder to suppress warning
69
70
71
72libreswan                         10/04/2017                    IPSEC_TNCFG(8)
Impressum