try enabling ipforward

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-05-28 00:03:09 -04:00 committed by Alice Huston
parent d7ec165760
commit b2ce2fe645

View File

@ -16,17 +16,21 @@
enable = true;
networks = {
# enable DHCP for primary ethernet adapter
# "10-lan" = {
# matchConfig.Name = "eno1";
# address = [ "192.168.76.2/32" ];
# routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
# linkConfig.RequiredForOnline = "routable";
# };
"10-lan" = {
matchConfig.Name = "eno1";
address = [ "192.168.76.2/32" ];
routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
networkConfig.IPForward = "yes";
linkConfig.RequiredForOnline = "routable";
};
# default lan settings
"60-def-lan" = {
matchConfig.Name = "eno*";
networkConfig.DHCP = "ipv4";
routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
matchConfig.type = "ether";
networkConfig = {
DHCP = "ipv4";
IPForward = "yes";
};
#routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
linkConfig.RequiredForOnline = "no";
};
};