14 lines
182 B
SYSTEMD
14 lines
182 B
SYSTEMD
<%
|
|
from ipaddress import ip_network
|
|
%>\
|
|
[Match]
|
|
Name=${interface}
|
|
|
|
[Network]
|
|
DHCP=yes
|
|
IPv6AcceptRA=yes
|
|
UseHostname=no
|
|
|
|
% if config.get('forwarding', False):
|
|
IPForward=yes
|
|
%endif
|