Additional bridge/interface config.

This commit is contained in:
Nolan Darilek 2025-07-21 12:03:06 -04:00
parent 1623920a7b
commit 2af9407818

View file

@ -46,6 +46,24 @@
]; ];
}; };
}; };
interfaces = {
"wan" = {
useDHCP = true;
tempAddresses = "disabled";
};
"lan" = {
ipv4.addresses = [
{
address = "192.168.0.1";
prefixLength = 16;
}
];
useDHCP = false;
# macAddress = "AA:BB:CC:DD:EE:FF";
# ^ This is the MAC address of the bridge. It's important to set this
# so that the bridge has a predictable MAC address.
};
};
nat = { nat = {
enable = true; enable = true;
externalInterface = "wan"; externalInterface = "wan";