bordervm enable nat
This commit is contained in:
parent
11384d78af
commit
be1254f29c
1 changed files with 5 additions and 0 deletions
|
@ -133,6 +133,11 @@ in {
|
|||
useDHCP = false;
|
||||
ipv4.addresses = [ { address = "10.0.0.1"; prefixLength = 24;}];
|
||||
};
|
||||
nat = {
|
||||
enable = true;
|
||||
internalInterfaces = [ "eth1" ];
|
||||
externalInterface ="eth0";
|
||||
};
|
||||
};
|
||||
users.users.liminix = {
|
||||
isNormalUser = true;
|
||||
|
|
Loading…
Reference in a new issue