summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-06-05 20:52:32 +0200
committerGitHub <noreply@github.com>2026-06-05 20:52:32 +0200
commitf1937d177fd0e3ba3e65db6a88573e66f9f62569 (patch)
tree1654cb1bc1211d6d7b6696d163ad1661bae925d6 /python
parentf4a6d053846974315cb35e292b26ad76ef0a99d8 (diff)
parent9b98679c257a2ae61d11435028160ae85eedcb80 (diff)
downloadvyos-1x-f1937d177fd0e3ba3e65db6a88573e66f9f62569.tar.gz
vyos-1x-f1937d177fd0e3ba3e65db6a88573e66f9f62569.zip
Merge pull request #5232 from natali-rs1985/T8936
vrf: T8936: Specify `pref 1998` when deleting fwmark routing rules on VRF removal
Diffstat (limited to 'python')
-rw-r--r--python/vyos/defaults.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py
index 22aa1f62a..5829b859f 100644
--- a/python/vyos/defaults.py
+++ b/python/vyos/defaults.py
@@ -110,3 +110,8 @@ activation_hint = os.path.join(directories['data'], '.activation_hint')
config_sync_exclusion_list = os.path.join(
directories['data'], 'config-sync-exclude.json'
)
+
+# IP rule priority for WireGuard fwmark-based VRF routing rules.
+# Sits between the l3mdev rule (1000) and the l3mdev unreachable rule (2000),
+# ensuring fwmark-tagged tunnel packets are routed into the correct VRF table.
+wireguard_fwmark_pref = '1998'