mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Update wireguard.rst
Adding proper syntax for 1.4 firewall commands
This commit is contained in:
parent
7b89b50e3d
commit
7d9792b510
@ -211,16 +211,16 @@ firewall exception.
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
set firewall name OUTSIDE_LOCAL rule 10 action accept
|
set firewall ipv4 name OUTSIDE_LOCAL rule 10 action accept
|
||||||
set firewall name OUTSIDE_LOCAL rule 10 description 'Allow established/related'
|
set firewall ipv4 name OUTSIDE_LOCAL rule 10 description 'Allow established/related'
|
||||||
set firewall name OUTSIDE_LOCAL rule 10 state established enable
|
set firewall ipv4 name OUTSIDE_LOCAL rule 10 state established enable
|
||||||
set firewall name OUTSIDE_LOCAL rule 10 state related enable
|
set firewall ipv4 name OUTSIDE_LOCAL rule 10 state related enable
|
||||||
set firewall name OUTSIDE_LOCAL rule 20 action accept
|
set firewall ipv4 name OUTSIDE_LOCAL rule 20 action accept
|
||||||
set firewall name OUTSIDE_LOCAL rule 20 description WireGuard_IN
|
set firewall ipv4 name OUTSIDE_LOCAL rule 20 description WireGuard_IN
|
||||||
set firewall name OUTSIDE_LOCAL rule 20 destination port 51820
|
set firewall ipv4 name OUTSIDE_LOCAL rule 20 destination port 51820
|
||||||
set firewall name OUTSIDE_LOCAL rule 20 log enable
|
set firewall ipv4 name OUTSIDE_LOCAL rule 20 log enable
|
||||||
set firewall name OUTSIDE_LOCAL rule 20 protocol udp
|
set firewall ipv4 name OUTSIDE_LOCAL rule 20 protocol udp
|
||||||
set firewall name OUTSIDE_LOCAL rule 20 source
|
set firewall ipv4 name OUTSIDE_LOCAL rule 20 source
|
||||||
|
|
||||||
You should also ensure that the OUTISDE_LOCAL firewall group is applied to the
|
You should also ensure that the OUTISDE_LOCAL firewall group is applied to the
|
||||||
WAN interface and a direction (local).
|
WAN interface and a direction (local).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user