try enabling ipforward
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
d7ec165760
commit
b2ce2fe645
@ -16,17 +16,21 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
networks = {
|
networks = {
|
||||||
# enable DHCP for primary ethernet adapter
|
# enable DHCP for primary ethernet adapter
|
||||||
# "10-lan" = {
|
"10-lan" = {
|
||||||
# matchConfig.Name = "eno1";
|
matchConfig.Name = "eno1";
|
||||||
# address = [ "192.168.76.2/32" ];
|
address = [ "192.168.76.2/32" ];
|
||||||
# routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
|
routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
|
||||||
# linkConfig.RequiredForOnline = "routable";
|
networkConfig.IPForward = "yes";
|
||||||
# };
|
linkConfig.RequiredForOnline = "routable";
|
||||||
|
};
|
||||||
# default lan settings
|
# default lan settings
|
||||||
"60-def-lan" = {
|
"60-def-lan" = {
|
||||||
matchConfig.Name = "eno*";
|
matchConfig.type = "ether";
|
||||||
networkConfig.DHCP = "ipv4";
|
networkConfig = {
|
||||||
routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
|
DHCP = "ipv4";
|
||||||
|
IPForward = "yes";
|
||||||
|
};
|
||||||
|
#routes = [ { routeConfig.Gateway = "192.168.76.1"; } ];
|
||||||
linkConfig.RequiredForOnline = "no";
|
linkConfig.RequiredForOnline = "no";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user