Changed IPs for VMs and added tailscale config
This commit is contained in:
parent
22c1c75af7
commit
8e9d5b730b
@ -14,7 +14,7 @@
|
|||||||
#networking.firewall.allowedTCPPorts = [ ];
|
#networking.firewall.allowedTCPPorts = [ ];
|
||||||
networking.interfaces.ens18.ipv4.addresses = [
|
networking.interfaces.ens18.ipv4.addresses = [
|
||||||
{
|
{
|
||||||
address = "192.168.100.8";
|
address = "192.168.100.41";
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
networking.firewall.allowedTCPPorts = [ 80 443 32400 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 32400 ];
|
||||||
networking.interfaces.enp6s18.ipv4.addresses = [
|
networking.interfaces.enp6s18.ipv4.addresses = [
|
||||||
{
|
{
|
||||||
address = "192.168.100.5";
|
address = "192.168.100.40";
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@ -89,8 +89,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Enable Tailscale
|
# Enable Tailscale
|
||||||
services.tailscale = {
|
services.tailscale.enable = true;
|
||||||
enable = true;
|
boot.kernel.sysctl = {
|
||||||
useRoutingFeatures = "server";
|
"net.ipv4.ip_forward" = 1;
|
||||||
|
"net.ipv6.conf.all.forwarding" = 1;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
networking.firewall.allowedTCPPorts = [ 80 443 32400 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 32400 ];
|
||||||
networking.interfaces.ens18.ipv4.addresses = [
|
networking.interfaces.ens18.ipv4.addresses = [
|
||||||
{
|
{
|
||||||
address = "192.168.100.7";
|
address = "192.168.100.42";
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user