aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/sagittarius/network.nix3
-rw-r--r--wireguard.nix2
2 files changed, 4 insertions, 1 deletions
diff --git a/hosts/sagittarius/network.nix b/hosts/sagittarius/network.nix
index d201590..8d21275 100644
--- a/hosts/sagittarius/network.nix
+++ b/hosts/sagittarius/network.nix
@@ -64,6 +64,9 @@
networkConfig.DHCP = "ipv4";
address = [ "2a01:4f9:c012:c7a7::1/64" ];
routes = [ { Gateway = "fe80::1"; } ];
+ # networkConfig = {
+ # IPv6Forwarding = false;
+ # };
};
};
};
diff --git a/wireguard.nix b/wireguard.nix
index 278ae0c..20307a1 100644
--- a/wireguard.nix
+++ b/wireguard.nix
@@ -102,6 +102,6 @@ in
boot.kernel.sysctl = lib.mkIf isHub {
# I *think* this should be fine since networkd will prevent forwarding
# on any interface that doesn't have IPv6Forwarding set to true.
- "net.ipv6.conf.all.forwarding" = true;
+ "net.ipv6.conf.wg0.forwarding" = true;
};
}