summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2025-02-20 19:33:16 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2025-02-20 19:33:16 +0100
commitac890f5e3ff7d0bb4853199204e4db7c4f1dcc3e (patch)
tree68ccbbfb117d41382ba7c8a3dfa3bf88165255ec /data
parent4d9d45a45acaa506b9cc99dbb86e12b9cb692dd1 (diff)
downloadvyos-1x-ac890f5e3ff7d0bb4853199204e4db7c4f1dcc3e.tar.gz
vyos-1x-ac890f5e3ff7d0bb4853199204e4db7c4f1dcc3e.zip
firewall: T7148: Bridge state-policy uses drop in place of reject
Diffstat (limited to 'data')
-rwxr-xr-xdata/templates/firewall/nftables.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/firewall/nftables.j2 b/data/templates/firewall/nftables.j2
index a35143870..67473da8e 100755
--- a/data/templates/firewall/nftables.j2
+++ b/data/templates/firewall/nftables.j2
@@ -435,13 +435,13 @@ table bridge vyos_filter {
{% if global_options.state_policy is vyos_defined %}
chain VYOS_STATE_POLICY {
{% if global_options.state_policy.established is vyos_defined %}
- {{ global_options.state_policy.established | nft_state_policy('established') }}
+ {{ global_options.state_policy.established | nft_state_policy('established', bridge=True) }}
{% endif %}
{% if global_options.state_policy.invalid is vyos_defined %}
- {{ global_options.state_policy.invalid | nft_state_policy('invalid') }}
+ {{ global_options.state_policy.invalid | nft_state_policy('invalid', bridge=True) }}
{% endif %}
{% if global_options.state_policy.related is vyos_defined %}
- {{ global_options.state_policy.related | nft_state_policy('related') }}
+ {{ global_options.state_policy.related | nft_state_policy('related', bridge=True) }}
{% endif %}
return
}