From 587d37b5f12d59b26e2b9291a18287a35e9abea8 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Thu, 7 Jun 2018 00:33:24 +0200 Subject: babel: ignore default routes on uplinks --- roles/install_babeld/templates/babeld.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/install_babeld/templates') 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 -- cgit v1.2.3-54-g00ecf