diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2018-06-07 00:33:24 +0200 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2018-06-07 00:33:24 +0200 |
commit | 587d37b5f12d59b26e2b9291a18287a35e9abea8 (patch) | |
tree | 98a6fd7a4b62443f183ac66478e475a8b587133e /roles | |
parent | 776fafa79c1396ae61f3c392edc46c89f0faea24 (diff) |
babel: ignore default routes on uplinks
Diffstat (limited to 'roles')
-rw-r--r-- | roles/install_babeld/templates/babeld.conf.j2 | 3 |
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 |