OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / freeswan / doc / manpage.d / ipsec_tncfg.8.html
1 Content-type: text/html
2
3 <HTML><HEAD><TITLE>Manpage of IPSEC_TNCFG</TITLE>
4 </HEAD><BODY>
5 <H1>IPSEC_TNCFG</H1>
6 Section: Maintenance Commands (8)<BR>Updated: 21 Jun 2000<BR><A HREF="#index">Index</A>
7 <A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
8
9
10
11
12 <A NAME="lbAB">&nbsp;</A>
13 <H2>NAME</H2>
14
15 ipsec tncfg - associate IPSEC virtual interface with physical interface
16 <A NAME="lbAC">&nbsp;</A>
17 <H2>SYNOPSIS</H2>
18
19 <B>ipsec</B>
20
21 <B>tncfg</B>
22
23 <P>
24
25 <B>ipsec</B>
26
27 <B>tncfg</B>
28
29 <B>--attach</B>
30
31 <B>--virtual</B>
32
33 virtual
34 <B>--physical</B>
35
36 physical
37 <P>
38
39 <B>ipsec</B>
40
41 <B>tncfg</B>
42
43 <B>--detach</B>
44
45 <B>--virtual</B>
46
47 virtual
48 <P>
49
50 <B>ipsec</B>
51
52 <B>tncfg</B>
53
54 <B>--clear</B>
55
56 <P>
57
58 <B>ipsec</B>
59
60 <B>tncfg</B>
61
62 <B>--version</B>
63
64 <P>
65
66 <B>ipsec</B>
67
68 <B>tncfg</B>
69
70 <B>--help</B>
71
72 <A NAME="lbAD">&nbsp;</A>
73 <H2>DESCRIPTION</H2>
74
75 <I>Tncfg</I>
76
77 attaches/detaches IPSEC virtual interfaces to/from
78 physical interfaces,
79 through which packets will be forwarded once processed by IPSEC.
80 <P>
81
82 The form with no additional arguments lists the contents of
83 /proc/net/ipsec_tncfg.  The format of /proc/net/ipsec_tncfg is discussed
84 in <A HREF="ipsec_tncfg.5.html">ipsec_tncfg</A>(5).
85 The
86 <B>--attach</B>
87
88 form attaches the
89 <I>virtual</I>
90
91 interface to the
92 <I>physical</I>
93
94 one.
95 The
96 <B>--detach</B>
97
98 form detaches the
99 <I>virtual</I>
100
101 interface from whichever physical interface it is attached to.
102 The
103 <B>--clear</B>
104
105 form clears all the
106 <I>virtual</I>
107
108 interfaces from whichever physical interfaces they were attached to.
109 <P>
110
111 Virtual interfaces typically have names like
112 <B>ipsec0</B>,
113
114 while physical interfaces typically have names like
115 <B>eth0</B>
116
117 or
118 <B>ppp0</B>.
119
120 <A NAME="lbAE">&nbsp;</A>
121 <H2>EXAMPLES</H2>
122
123 <DL COMPACT>
124 <DT><B>ipsec tncfg --attach --virtual ipsec0 --physical eth0</B>
125
126 <DD>
127 attaches the
128 <B>ipsec0</B>
129
130 virtual device to the
131 <B>eth0</B>
132
133 physical device.
134 </DL>
135 <P>
136
137 <A NAME="lbAF">&nbsp;</A>
138 <H2>FILES</H2>
139
140 /proc/net/ipsec_tncfg, /usr/local/bin/ipsec
141 <A NAME="lbAG">&nbsp;</A>
142 <H2>SEE ALSO</H2>
143
144 <A HREF="ipsec.8.html">ipsec</A>(8), <A HREF="ipsec_manual.8.html">ipsec_manual</A>(8), <A HREF="ipsec_eroute.8.html">ipsec_eroute</A>(8), <A HREF="ipsec_spi.8.html">ipsec_spi</A>(8),
145 <A HREF="ipsec_spigrp.8.html">ipsec_spigrp</A>(8), <A HREF="ipsec_klipsdebug.8.html">ipsec_klipsdebug</A>(8), <A HREF="ipsec_tncfg.5.html">ipsec_tncfg</A>(5)
146 <A NAME="lbAH">&nbsp;</A>
147 <H2>HISTORY</H2>
148
149 Written for the Linux FreeS/WAN project
150 &lt;<A HREF="http://www.freeswan.org/">http://www.freeswan.org/</A>&gt;
151 by Richard Guy Briggs.
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173 <P>
174
175 <HR>
176 <A NAME="index">&nbsp;</A><H2>Index</H2>
177 <DL>
178 <DT><A HREF="#lbAB">NAME</A><DD>
179 <DT><A HREF="#lbAC">SYNOPSIS</A><DD>
180 <DT><A HREF="#lbAD">DESCRIPTION</A><DD>
181 <DT><A HREF="#lbAE">EXAMPLES</A><DD>
182 <DT><A HREF="#lbAF">FILES</A><DD>
183 <DT><A HREF="#lbAG">SEE ALSO</A><DD>
184 <DT><A HREF="#lbAH">HISTORY</A><DD>
185 </DL>
186 <HR>
187 This document was created by
188 <A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
189 using the manual pages.<BR>
190 Time: 05:09:33 GMT, June 19, 2001
191 </BODY>
192 </HTML>