Add base requirements for NAT
This commit is contained in:
parent
e48cd67df2
commit
809eb05edf
|
@ -10,6 +10,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.nat = {
|
||||||
|
enable = true;
|
||||||
|
internalInterfaces = ["ve-+"];
|
||||||
|
externalInterface = "wg0";
|
||||||
|
enableIPv6 = true;
|
||||||
|
};
|
||||||
|
|
||||||
networking.interfaces.br0.ipv4.addresses = [
|
networking.interfaces.br0.ipv4.addresses = [
|
||||||
{
|
{
|
||||||
address = "192.168.0.42";
|
address = "192.168.0.42";
|
||||||
|
|
Loading…
Reference in New Issue