Blame SOURCES/0020-doc-note-that-forward-port-may-enable-IP-forwarding.patch

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