fix ip
This commit is contained in:
parent
22a59d1028
commit
bae3bb97fd
1 changed files with 4 additions and 1 deletions
|
|
@ -116,7 +116,10 @@ in
|
|||
config = { lib, config, pkgs, ... }: {
|
||||
networking = {
|
||||
hostName = "fw";
|
||||
interfaces.mv-vserver.useDHCP = true;
|
||||
interfaces.mv-vserver = {
|
||||
useDHCP = true;
|
||||
ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ];
|
||||
};
|
||||
# firewall = {
|
||||
# enable = true;
|
||||
# allowedTCPPorts = [ 22 80 443 ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue