bordervm enable nat
This commit is contained in:
parent
513c69cb5b
commit
991de7eb9e
@ -133,6 +133,11 @@ in {
|
|||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
ipv4.addresses = [ { address = "10.0.0.1"; prefixLength = 24;}];
|
ipv4.addresses = [ { address = "10.0.0.1"; prefixLength = 24;}];
|
||||||
};
|
};
|
||||||
|
nat = {
|
||||||
|
enable = true;
|
||||||
|
internalInterfaces = [ "eth1" ];
|
||||||
|
externalInterface ="eth0";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
users.users.liminix = {
|
users.users.liminix = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user