Fix IP address to match perseverance hypervisor

This commit is contained in:
Théo Barnouin 2024-09-13 10:25:51 +02:00
parent cbb5c3623b
commit e87f6d396f
3 changed files with 5 additions and 5 deletions

View file

@ -83,7 +83,7 @@
services.vm = {
enable = true;
hostname = "nginx";
vm_ip = "192.168.122.40";
vm_ip = "192.168.1.40";
macAddr = "02:00:00:00:00:40";
};
}

View file

@ -40,9 +40,9 @@
"10-lan-bridge" = {
matchConfig.Name = "br0";
networkConfig = {
Address = ["192.168.122.31/24"];
Gateway = "192.168.122.1";
DNS = ["192.168.122.1"];
Address = ["192.168.1.66/24"];
Gateway = "192.168.1.254";
DNS = ["192.168.1.254"];
IPv6AcceptRA = true;
};
linkConfig.RequiredForOnline = "routable";

View file

@ -98,7 +98,7 @@
};
fail2ban = {
enable = true;
ignoreIP = [ "192.168.122.0/24" ];
ignoreIP = [ "192.168.1.0/24" ];
};
rsyslogd = {
enable = true;