]> git.ipfire.org Git - people/ms/network.git/blame - man/network-zone-ip-tunnel.xml
man: Add documentation for IP tunnel hook
[people/ms/network.git] / man / network-zone-ip-tunnel.xml
CommitLineData
bd767a3e
MT
1<?xml version="1.0"?>
2<!DOCTYPE refentry PUBLIC "-//OASIS/DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4
5<refentry id="network-zone-ip-tunnel">
6 <refentryinfo>
7 <title>network-zone-ip-tunnel</title>
8 <productname>network</productname>
9
10 <authorgroup>
11 <author>
12 <contrib>Developer</contrib>
13 <firstname>Michael</firstname>
14 <surname>Tremer</surname>
15 <email>michael.tremer@ipfire.org</email>
16 </author>
17 </authorgroup>
18 </refentryinfo>
19
20 <refmeta>
21 <refentrytitle>network-zone-ip-tunnel</refentrytitle>
22 <manvolnum>8</manvolnum>
23 </refmeta>
24
25 <refnamediv>
26 <refname>network-zone-ip-tunnel</refname>
27 <refpurpose>Network Configuration Control Program</refpurpose>
28 </refnamediv>
29
30 <refsynopsisdiv>
31 <cmdsynopsis>
32 <command>network zone new <replaceable>ZONE</replaceable> ip-tunnel ...</command>
33 </cmdsynopsis>
34
35 <cmdsynopsis>
36 <command>network zone <replaceable>ZONE</replaceable> edit ...</command>
37 </cmdsynopsis>
38 </refsynopsisdiv>
39
40 <refsect1>
41 <title>Description</title>
42
43 <para>
44 The ip-tunnel hook is used to create IP tunnels that use protocols
45 like GRE to encapsulate IP packets.
46 </para>
47 </refsect1>
48
49 <refsect1>
50 <title>Options</title>
51
52 <para>
53 The following options are understood:
54 </para>
55
56 <variablelist>
57 <varlistentry>
58 <term>
59 <option>--mode=<replaceable>MODE</replaceable></option>
60 </term>
61
62 <listitem>
63 <para>
64 Sets the protocol that is being used to encapsulate
65 IP packets.
66 Currently only <replaceable>gre</replaceable> is supported.
67 </para>
68 </listitem>
69 </varlistentry>
70
71 <varlistentry>
72 <term>
73 <option>--peer=<replaceable>PEER</replaceable></option>
74 </term>
75
76 <listitem>
77 <para>
78 The address of the peer that terminates the remote
79 end of this tunnel.
80 </para>
81 </listitem>
82 </varlistentry>
83
84 <varlistentry>
85 <term>
86 <option>--local-address=<replaceable>LOCAL-ADDRESS</replaceable></option>
87 </term>
88
89 <listitem>
90 <para>
91 The local IP address the tunnel originates from.
92 </para>
93
94 <para>
95 This is optional and if unset a useful default will be used.
96 </para>
97 </listitem>
98 </varlistentry>
99 </variablelist>
100 </refsect1>
101
102 <refsect1>
103 <title>See Also</title>
104
105 <para>
106 <citerefentry>
107 <refentrytitle>network</refentrytitle>
108 <manvolnum>8</manvolnum>
109 </citerefentry>,
110 <citerefentry>
111 <refentrytitle>network-zone</refentrytitle>
112 <manvolnum>8</manvolnum>
113 </citerefentry>
114 </para>
115 </refsect1>
116</refentry>