1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

man: suggest to enable global IPv6Forwarding= setting to make IPv6 packets forwarded

Closes #33414.
This commit is contained in:
Yu Watanabe 2024-06-24 05:03:58 +09:00 committed by Luca Boccassi
parent acda1b3f2a
commit 175cdefd33

View File

@ -853,7 +853,7 @@ DuplicateAddressDetection=none</programlisting></para>
<varlistentry>
<term><varname>IPv6Forwarding=</varname></term>
<listitem>
<para>Configures IPv6 packet forwarding for the interface. Takes a boolean value. This controls the
<para>Configures interface-specific host/router behaviour. Takes a boolean value. This controls the
<filename>net.ipv6.conf.<replaceable>INTERFACE</replaceable>.forwarding</filename> sysctl option of
the network interface. See
<ulink url="https://docs.kernel.org/networking/ip-sysctl.html">IP Sysctl</ulink>
@ -867,6 +867,14 @@ DuplicateAddressDetection=none</programlisting></para>
<citerefentry><refentrytitle>networkd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
</para>
<para>Note, unlike <varname>IPv4Forwarding=</varname>, enabling per-interface
<varname>IPv6Forwarding=</varname> on two or more interfaces <emphasis>DOES NOT</emphasis> make IPv6
packets forwarded within the interfaces. This setting just controls the per-interface sysctl value,
and the sysctl value is not directly correlated to whether packets are forwarded. To ensure IPv6
packets forwarded, the global setting in
<citerefentry><refentrytitle>networkd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
needs to be enabled.</para>
<xi:include href="version-info.xml" xpointer="v256"/>
</listitem>
</varlistentry>