summaryrefslogtreecommitdiff
path: root/roles/install_babeld
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_babeld')
-rw-r--r--roles/install_babeld/templates/babeld.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/install_babeld/templates/babeld.conf.j2 b/roles/install_babeld/templates/babeld.conf.j2
index 1741369..fbf7e30 100644
--- a/roles/install_babeld/templates/babeld.conf.j2
+++ b/roles/install_babeld/templates/babeld.conf.j2
@@ -37,6 +37,9 @@ import-table 42
reflect-kernel-metric true
# Filtering rules.
+{% if 'uplink' in group_names %}
+in le 0 deny # ignore default routes on uplinks
+{% endif %}
{% if 'mullvad_uplink' in group_names %}
redistribute if mullvad metric 256