diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-06-30 22:46:33 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-07-01 00:16:06 +0200 |
| commit | 5b94e868a41de9f90acb19fa1916bd26cd600d12 (patch) | |
| tree | 486757b75cbe1e5ab0528d2ab8c647d288d9a0ac | |
| parent | 497e8e4b1cc68ac16e267ff4208b8a3ecfd0043b (diff) | |
Allow router advertisement on gateway interfaces
| -rw-r--r-- | roles/gateway/templates/99-gateway.conf.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/gateway/templates/99-gateway.conf.j2 b/roles/gateway/templates/99-gateway.conf.j2 index 40ba5a72..54f81f0c 100644 --- a/roles/gateway/templates/99-gateway.conf.j2 +++ b/roles/gateway/templates/99-gateway.conf.j2 @@ -5,3 +5,6 @@ net.ipv6.conf.all.forwarding=1 net.ipv4.ip_forward=0 net.ipv6.conf.all.forwarding=0 {% endif %} +{% if network_ipv6_address is defined %} +net.ipv6.conf.{{ gateway_router_interface }}.accept_ra={{ 2 if gateway_enabled else 1 }} +{% endif %} |
