mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Merge pull request #1162 from nicolas-fort/RemoveLegacy
Firewall: Remove <Legacy> firewall documentation from current branch.…
This commit is contained in:
commit
7e8c713d45
File diff suppressed because it is too large
Load Diff
@ -1,17 +1,9 @@
|
|||||||
:lastproofread: 2023-11-08
|
:lastproofread: 2023-11-23
|
||||||
|
|
||||||
########
|
########
|
||||||
Firewall
|
Firewall
|
||||||
########
|
########
|
||||||
|
|
||||||
.. attention::
|
|
||||||
Starting from VyOS 1.4-rolling-202308040557, a new firewall structure
|
|
||||||
can be found on all vyos installations.
|
|
||||||
|
|
||||||
***************
|
|
||||||
Netfilter based
|
|
||||||
***************
|
|
||||||
|
|
||||||
With VyOS being based on top of Linux and its kernel, the Netfilter project
|
With VyOS being based on top of Linux and its kernel, the Netfilter project
|
||||||
created the iptables and now the successor nftables for the Linux kernel to
|
created the iptables and now the successor nftables for the Linux kernel to
|
||||||
work directly on the data flows. This now extends the concept of zone-based
|
work directly on the data flows. This now extends the concept of zone-based
|
||||||
@ -155,34 +147,12 @@ configuration:
|
|||||||
ipv4
|
ipv4
|
||||||
ipv6
|
ipv6
|
||||||
flowtables
|
flowtables
|
||||||
zone
|
|
||||||
|
|
||||||
.. note:: **For more information**
|
.. note:: **For more information**
|
||||||
of Netfilter hooks and Linux networking packet flows can be
|
of Netfilter hooks and Linux networking packet flows can be
|
||||||
found in `Netfilter-Hooks
|
found in `Netfilter-Hooks
|
||||||
<https://wiki.nftables.org/wiki-nftables/index.php/Netfilter_hooks>`_
|
<https://wiki.nftables.org/wiki-nftables/index.php/Netfilter_hooks>`_
|
||||||
|
|
||||||
***************
|
|
||||||
Legacy Firewall
|
|
||||||
***************
|
|
||||||
|
|
||||||
.. toctree::
|
|
||||||
:maxdepth: 1
|
|
||||||
:includehidden:
|
|
||||||
|
|
||||||
general-legacy
|
|
||||||
|
|
||||||
Traditionally firewalls weere configured with the concept of data going in and
|
|
||||||
out of an interface. The router just listened to the data flowing through and
|
|
||||||
responding as required if it was directed at the router itself.
|
|
||||||
|
|
||||||
To configure VyOS with the
|
|
||||||
:doc:`legacy firewall configuration </configuration/firewall/general-legacy>`
|
|
||||||
|
|
||||||
As the example image below shows, the device was configured with rules blocking
|
|
||||||
inbound or outbound traffic on each interface.
|
|
||||||
|
|
||||||
.. figure:: /_static/images/firewall-traditional.png
|
|
||||||
|
|
||||||
Zone-based firewall
|
Zone-based firewall
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user