forked from CCCHH/ansible-infra
With the router upgrade to Debian 13 the systemd version got upgraded as well breaking the current configuration for IP forwarding. Add a variable for global systemd-networkd configuration and use that to enable IPv4 and IPv6 forwarding on the router. The systemd_networkd role could be a bit nicer, not deploying/deleting the global configuration, if the variable is empty and reloading/restarting systemd-networkd at appropriate times. But as is works for now.
12 lines
158 B
SYSTEMD
12 lines
158 B
SYSTEMD
[Match]
|
|
Name=net2
|
|
|
|
[Network]
|
|
#DNS=212.12.50.158
|
|
IPv6AcceptRA=no
|
|
|
|
[Address]
|
|
Address=2a00:14b0:4200:3500::130:2/112
|
|
|
|
[Route]
|
|
Gateway=2a00:14b0:4200:3500::130:1
|