Changed IPs for VMs and added tailscale config

This commit is contained in:
Random936 2024-10-29 20:58:17 -07:00
parent 22c1c75af7
commit 8e9d5b730b
3 changed files with 7 additions and 6 deletions

View File

@ -14,7 +14,7 @@
#networking.firewall.allowedTCPPorts = [ ];
networking.interfaces.ens18.ipv4.addresses = [
{
address = "192.168.100.8";
address = "192.168.100.41";
prefixLength = 24;
}
];

View File

@ -14,7 +14,7 @@
networking.firewall.allowedTCPPorts = [ 80 443 32400 ];
networking.interfaces.enp6s18.ipv4.addresses = [
{
address = "192.168.100.5";
address = "192.168.100.40";
prefixLength = 24;
}
];
@ -89,8 +89,9 @@
};
# Enable Tailscale
services.tailscale = {
enable = true;
useRoutingFeatures = "server";
services.tailscale.enable = true;
boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;
};
}

View File

@ -14,7 +14,7 @@
networking.firewall.allowedTCPPorts = [ 80 443 32400 ];
networking.interfaces.ens18.ipv4.addresses = [
{
address = "192.168.100.7";
address = "192.168.100.42";
prefixLength = 24;
}
];