From f38072b382440ebfdaeed9dc69efa24dd71850e2 Mon Sep 17 00:00:00 2001
From: Eric Garver <eric@garver.life>
Date: Mon, 18 Mar 2019 14:57:03 -0400
Subject: [PATCH 20/23] doc: note that forward-port may enable IP forwarding
(cherry picked from commit 3d83bb9e793d226b3f34f4f8d666a61372fbf841)
---
doc/xml/firewall-cmd.xml.in | 3 +++
doc/xml/firewall-offline-cmd.xml | 3 +++
doc/xml/firewalld.richlanguage.xml | 3 +++
3 files changed, 9 insertions(+)
diff --git a/doc/xml/firewall-cmd.xml.in b/doc/xml/firewall-cmd.xml.in
index c2606553e549..f0bb8070afb3 100644
--- a/doc/xml/firewall-cmd.xml.in
+++ b/doc/xml/firewall-cmd.xml.in
@@ -750,6 +750,9 @@
<para>
For <emphasis>IPv6</emphasis> forward ports, please use the rich language.
</para>
+ <para>
+ <emphasis>Note:</emphasis> IP forwarding will be implicitly enabled if <option>toaddr</option> is specified.
+ </para>
</listitem>
</varlistentry>
diff --git a/doc/xml/firewall-offline-cmd.xml b/doc/xml/firewall-offline-cmd.xml
index 85757b4eed64..5070ea099f79 100644
--- a/doc/xml/firewall-offline-cmd.xml
+++ b/doc/xml/firewall-offline-cmd.xml
@@ -752,6 +752,9 @@
<para>
For <emphasis>IPv6</emphasis> forward ports, please use the rich language.
</para>
+ <para>
+ <emphasis>Note:</emphasis> IP forwarding will be implicitly enabled if <option>toaddr</option> is specified.
+ </para>
</listitem>
</varlistentry>
diff --git a/doc/xml/firewalld.richlanguage.xml b/doc/xml/firewalld.richlanguage.xml
index bf8d766cf3f2..f2cacb50f673 100644
--- a/doc/xml/firewalld.richlanguage.xml
+++ b/doc/xml/firewalld.richlanguage.xml
@@ -230,6 +230,9 @@ forward-port port="port value" protocol="tcp|udp" to-port="port value" to-addr="
<para>
It is not allowed to specify an action here. forward-port uses the action accept internally.
</para>
+ <para>
+ <emphasis>Note:</emphasis> IP forwarding will be implicitly enabled if <option>to-addr</option> is specified.
+ </para>
</refsect2>
<refsect2>
--
2.20.1