replace deprecated (IPForward) attribute

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-08-06 16:41:24 -04:00 committed by Alice Huston
parent 62d3e7c1e3
commit be327b6c90

View File

@ -19,15 +19,21 @@
"10-lan" = {
matchConfig.Name = "eno1";
address = [ "192.168.76.2/24" ];
routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
IPForward = "yes";
routes = [ { Gateway = "192.168.76.1"; } ];
networkConfig = {
IPv4Forwarding = true;
IPv6Forwarding = true;
};
linkConfig.RequiredForOnline = "routable";
};
# default lan settings
"60-def-lan" = {
matchConfig.type = "ether";
networkConfig = {
DHCP = "ipv4";
IPForward = "yes";
IPv4Forwarding = true;
IPv6Forwarding = true;
};
#routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
linkConfig.RequiredForOnline = "no";
};