summaryrefslogtreecommitdiff
path: root/docs/firewall.rst
diff options
context:
space:
mode:
authorcurrite <sll@disroot.org>2019-09-16 16:29:09 +0200
committercurrite <sll@disroot.org>2019-09-16 16:29:09 +0200
commit22ab45d01501f6f811926692e86f76b053f6630b (patch)
treefbb9979a2ea37945d6e2340d289d4cbc0f853c4e /docs/firewall.rst
parent8f4605b0061675a35951ca293f9871f2e75b6966 (diff)
downloadvyos-documentation-22ab45d01501f6f811926692e86f76b053f6630b.tar.gz
vyos-documentation-22ab45d01501f6f811926692e86f76b053f6630b.zip
firewall_all-ping
Diffstat (limited to 'docs/firewall.rst')
-rw-r--r--docs/firewall.rst23
1 files changed, 22 insertions, 1 deletions
diff --git a/docs/firewall.rst b/docs/firewall.rst
index f41bbcbb..f875ad12 100644
--- a/docs/firewall.rst
+++ b/docs/firewall.rst
@@ -102,6 +102,27 @@ first be created):
set zone-policy zone INSIDE from OUTSIDE firewall name INSIDE-OUT
+How VyOS replies when being pinged
+----------------------------------
+
+By default, when VyOS receives an ICMP echo request packet destined for itself, it will answer with an ICMP echo reply, unless you avoid it through its firewall.
+
+With the firewall you can set rules to accept, drop or reject ICMP in, out or local traffic. You can also use the general **firewall all-ping** command. This command affects only to LOCAL (packets destined for your VyOS system), not to IN or OUT traffic.
+
+.. note:: **firewall all-ping** affects only to LOCAL and it always behaves in the most restrictive way
+
+.. code-block:: sh
+
+ set firewall all-ping enable
+
+When the command above is set, VyOS will answer every ICMP echo request addressed to itself, but that will only happen if no other rule is applied droping or rejecting local echo requests. In case of conflict, VyOS will not answer ICMP echo requests.
+
+.. code-block:: sh
+
+ set firewall all-ping disable
+
+When the comand above is set, VyOS will answer no ICMP echo request addressed to itself at all, no matter where it comes from or whether more specific rules are being applied to accept them.
+
Example Partial Config
----------------------
@@ -170,4 +191,4 @@ Example Partial Config
}
}
}
- } \ No newline at end of file
+ }