From d0034cc30a3dc99763b1ff1a6e04918fa4e28058 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Sat, 27 Jan 2024 12:04:15 -0300 Subject: [PATCH] feat: advertise server as tailscale exitnode --- hosts/homex/network.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/homex/network.nix b/hosts/homex/network.nix index 42b32e8..92f0599 100644 --- a/hosts/homex/network.nix +++ b/hosts/homex/network.nix @@ -19,6 +19,10 @@ useRoutingFeatures = "both"; }; + boot.kernel.sysctl."net.ipv4.ip_forward" = 1; + boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1; + + services.openssh.enable = true; }; }