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 a675fd6..4a471dc 100644
--- a/roles/install_babeld/templates/babeld.conf.j2
+++ b/roles/install_babeld/templates/babeld.conf.j2
@@ -50,6 +50,9 @@ import-table 42
#in ip 2001:db8:cafe:cafe::/64 allow
#in deny
+{% if 'mullvad_uplink' in group_names %}
+redistribute if mullvad metric 128
+{% endif %}
{% if 'ffrl_uplink' in group_names %}
{% for peer in ffrl_peers %}
redistribute if {{ peer.name }} metric 128