summaryrefslogtreecommitdiff
path: root/docs/configuration/firewall
diff options
context:
space:
mode:
authorGanawa Juanah <ganawa@juanah.com>2022-10-08 16:21:44 -0500
committerGanawa Juanah <ganawa@juanah.com>2022-10-08 16:21:44 -0500
commit8f9aa4476d8ea71b128855a52e640e3aea782928 (patch)
treeaa4179106ef5fa45e0ed480baf892759ac619a32 /docs/configuration/firewall
parentdeb95e79ca495beb70d1be87b41f53a6a7dd03e0 (diff)
downloadvyos-documentation-8f9aa4476d8ea71b128855a52e640e3aea782928.tar.gz
vyos-documentation-8f9aa4476d8ea71b128855a52e640e3aea782928.zip
firewall: correct firewall example
Diffstat (limited to 'docs/configuration/firewall')
-rw-r--r--docs/configuration/firewall/general.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/configuration/firewall/general.rst b/docs/configuration/firewall/general.rst
index 8851cc2a..7edd9e64 100644
--- a/docs/configuration/firewall/general.rst
+++ b/docs/configuration/firewall/general.rst
@@ -815,6 +815,11 @@ Example Partial Config
.. code-block:: none
firewall {
+ interface eth0 {
+ in {
+ name FROM-INTERNET
+ }
+ }
all-ping enable
broadcast-ping disable
config-trap disable
@@ -871,11 +876,6 @@ Example Partial Config
address dhcp
description OUTSIDE
duplex auto
- firewall {
- in {
- name FROM-INTERNET
- }
- }
}
}