]> git.ipfire.org Git - network.git/commitdiff
6to4-tunnel: Add documentation.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Apr 2013 10:32:02 +0000 (12:32 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Apr 2013 10:32:02 +0000 (12:32 +0200)
Makefile
man/network-zone-6to4-tunnel.xml [new file with mode: 0644]

index 1d37164c6d877feca94b0aa768e8e3935fc1e7a7..6c3a70fb1a1a1853121ede951847a61588c91a38 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ MAN_PAGES = \
        man/network-port-batman-adv-port.8 \
        man/network-route.8 \
        man/network-zone.8 \
+       man/network-zone-6to4-tunnel.8 \
        man/network-zone-bridge.8 \
        man/network-zone-config-pppoe-server.8 \
        man/network-zone-pppoe.8
diff --git a/man/network-zone-6to4-tunnel.xml b/man/network-zone-6to4-tunnel.xml
new file mode 100644 (file)
index 0000000..a73095b
--- /dev/null
@@ -0,0 +1,179 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS/DTD DocBook XML V4.2//EN"
+       "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+
+<refentry id="network-zone-6to4-tunnel">
+       <refentryinfo>
+               <title>network-zone-6to4-tunnel</title>
+               <productname>network</productname>
+
+               <authorgroup>
+                       <author>
+                               <contrib>Developer</contrib>
+                               <firstname>Michael</firstname>
+                               <surname>Tremer</surname>
+                               <email>michael.tremer@ipfire.org</email>
+                       </author>
+               </authorgroup>
+       </refentryinfo>
+
+       <refmeta>
+               <refentrytitle>network-zone-6to4-tunnel</refentrytitle>
+               <manvolnum>8</manvolnum>
+       </refmeta>
+
+       <refnamediv>
+               <refname>network-zone-6to4-tunnel</refname>
+               <refpurpose>Network Configuration Control Program</refpurpose>
+       </refnamediv>
+
+       <refsynopsisdiv>
+               <cmdsynopsis>
+                       <command>network zone create <replaceable>ZONE</replaceable> 6to4-tunnel ...</command>
+               </cmdsynopsis>
+
+               <cmdsynopsis>
+                       <command>network zone <replaceable>ZONE</replaceable> edit ...</command>
+               </cmdsynopsis>
+       </refsynopsisdiv>
+
+       <refsect1>
+               <title>Description</title>
+
+               <para>
+                       The 6to4-tunnel hook is used to create IPv6 tunnels over IPv4 networks
+                       where the provider does not provide native IPv6.
+               </para>
+               <para>
+                       Hurricane Electric offers a free tunnelbroker service on
+                       http://www.tunnelbroker.net, that can be used with this hook.
+               </para>
+       </refsect1>
+
+       <refsect1>
+               <title>Options</title>
+
+               <para>
+                       The following options are understood:
+               </para>
+
+               <variablelist>
+                       <varlistentry>
+                               <term>
+                                       <option>--server-address=<replaceable>...</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               The address of the tunnel endpoint server.
+                                       </para>
+                                       <para>
+                                               This is the IPv4 address of the server, to where
+                                               the tunnel is created.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--local-ipv4-address=<replaceable>...</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               The local IPv4 address that is used to connect to
+                                               the server.
+                                       </para>
+                                       <para>
+                                               Attention! In case your local tunnel endpoint is behind
+                                               a NAT, you need to configure the internet IP address instead
+                                               of the public IP address.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--local-ipv6-address=<replaceable>...</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               The local IPv6 address of your tunnel.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+               </variablelist>
+
+               <para>
+                       Optional arguments, that can be used to automatically update the
+                       tunnel endpoint IPv4 address with tunnelbroker.net:
+               </para>
+
+               <variablelist>
+                       <varlistentry>
+                               <term>
+                                       <option>--auto-update-endpoint=[<emphasis>false</emphasis>|true]</option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               Determines whether the tunnel endpoint IPv4 address should
+                                               be automatically updated or not.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--username=<replaceable>USERNAME</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               The username of your tunnelbroker.net account.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--password=<replaceable>PASSWORD</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               The password of your tunnelbroker.net account.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--tunnel-id=<replaceable>N</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               The ID of this tunnel, given to you by tunnelbroker.net.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+               </variablelist>
+       </refsect1>
+
+       <refsect1>
+               <title>See Also</title>
+
+               <para>
+                       <citerefentry>
+                               <refentrytitle>network</refentrytitle>
+                               <manvolnum>8</manvolnum>
+                       </citerefentry>,
+                       <citerefentry>
+                               <refentrytitle>network-zone</refentrytitle>
+                               <manvolnum>8</manvolnum>
+                       </citerefentry>
+               </para>
+       </refsect1>
+</refentry>