OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / freeswan / klips / utils / tncfg.8
1 .TH IPSEC_TNCFG 8 "21 Jun 2000"
2 .\"
3 .\" RCSID $Id: tncfg.8,v 1.14 2000/09/12 13:09:04 rgb Exp $
4 .\"
5 .SH NAME
6 ipsec tncfg \- associate IPSEC virtual interface with physical interface
7 .SH SYNOPSIS
8 .B ipsec
9 .B tncfg
10 .PP
11 .B ipsec
12 .B tncfg
13 .B \-\-attach
14 .B \-\-virtual
15 virtual
16 .B \-\-physical
17 physical
18 .PP
19 .B ipsec
20 .B tncfg
21 .B \-\-detach
22 .B \-\-virtual
23 virtual
24 .PP
25 .B ipsec
26 .B tncfg
27 .B \-\-clear
28 .PP
29 .B ipsec
30 .B tncfg
31 .B \-\-version
32 .PP
33 .B ipsec
34 .B tncfg
35 .B \-\-help
36 .SH DESCRIPTION
37 .I Tncfg
38 attaches/detaches IPSEC virtual interfaces to/from
39 physical interfaces,
40 through which packets will be forwarded once processed by IPSEC.
41 .PP
42 The form with no additional arguments lists the contents of
43 /proc/net/ipsec_tncfg.  The format of /proc/net/ipsec_tncfg is discussed
44 in ipsec_tncfg(5).
45 The
46 .B \-\-attach
47 form attaches the
48 .I virtual
49 interface to the
50 .I physical
51 one.
52 The
53 .B \-\-detach
54 form detaches the
55 .I virtual
56 interface from whichever physical interface it is attached to.
57 The
58 .B \-\-clear
59 form clears all the
60 .I virtual
61 interfaces from whichever physical interfaces they were attached to.
62 .PP
63 Virtual interfaces typically have names like
64 .BR ipsec0 ,
65 while physical interfaces typically have names like
66 .B eth0
67 or
68 .BR ppp0 .
69 .SH EXAMPLES
70 .TP
71 .B ipsec tncfg \-\-attach \-\-virtual ipsec0 \-\-physical eth0
72 attaches the
73 .B ipsec0
74 virtual device to the
75 .B eth0
76 physical device.
77 .LP
78 .SH "FILES"
79 /proc/net/ipsec_tncfg, /usr/local/bin/ipsec
80 .SH "SEE ALSO"
81 ipsec(8), ipsec_manual(8), ipsec_eroute(8), ipsec_spi(8),
82 ipsec_spigrp(8), ipsec_klipsdebug(8), ipsec_tncfg(5)
83 .SH HISTORY
84 Written for the Linux FreeS/WAN project
85 <http://www.freeswan.org/>
86 by Richard Guy Briggs.
87 .\"
88 .\" $Log: tncfg.8,v $
89 .\" Revision 1.14  2000/09/12 13:09:04  rgb
90 .\" Fixed real/physical discrepancy between tncfg.8 and tncfg.c.
91 .\"
92 .\" Revision 1.13  2000/06/30 18:21:55  rgb
93 .\" Update SEE ALSO sections to include ipsec_version(5) and ipsec_pf_key(5)
94 .\" and correct FILES sections to no longer refer to /dev/ipsec which has
95 .\" been removed since PF_KEY does not use it.
96 .\"
97 .\" Revision 1.12  2000/06/21 16:54:58  rgb
98 .\" Added 'no additional args' text for listing contents of
99 .\" /proc/net/ipsec_* files.
100 .\"
101 .\" Revision 1.11  1999/07/19 18:47:25  henry
102 .\" fix slightly-misformed comments
103 .\"
104 .\" Revision 1.10  1999/04/06 04:54:39  rgb
105 .\" Fix/Add RCSID Id: and Log: bits to make PHMDs happy.  This includes
106 .\" patch shell fixes.
107 .\"