diff --git a/config/logging.nix b/config/logging.nix index a209fdb..cc6a104 100644 --- a/config/logging.nix +++ b/config/logging.nix @@ -14,7 +14,7 @@ #networking.firewall.allowedTCPPorts = [ ]; networking.interfaces.ens18.ipv4.addresses = [ { - address = "192.168.100.8"; + address = "192.168.100.41"; prefixLength = 24; } ]; diff --git a/config/media.nix b/config/media.nix index 828f309..ee71011 100644 --- a/config/media.nix +++ b/config/media.nix @@ -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; }; } diff --git a/config/sampledb.nix b/config/sampledb.nix index 0b17074..e295db8 100644 --- a/config/sampledb.nix +++ b/config/sampledb.nix @@ -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; } ];