From aa40f52be8ca3662508bc20ce8345ce4f0845d0f Mon Sep 17 00:00:00 2001 From: Ahmed AbdelHalim Date: Tue, 30 Jun 2026 22:46:33 +0200 Subject: Allow router advertisement on gateway interfaces --- roles/gateway/templates/99-gateway.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) 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 %} -- cgit v1.2.3