From b8f5007dbcb0a9393016fec83a27b5a017327d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 9 Apr 2024 13:45:50 +0200 Subject: wireguard: drop dean as endpoint This doesn't work correctly because dean doesn't have public IP and thus can't be discovered easilly. --- nixos/configurations/dean.nix | 6 ------ 1 file changed, 6 deletions(-) (limited to 'nixos/configurations') diff --git a/nixos/configurations/dean.nix b/nixos/configurations/dean.nix index c903794..adc9e87 100644 --- a/nixos/configurations/dean.nix +++ b/nixos/configurations/dean.nix @@ -16,11 +16,6 @@ in { networking = { useNetworkd = true; useDHCP = false; - nat = { - enable = true; - externalInterface = "brlan"; - internalInterfaces = ["wg"]; - }; }; systemd.network = { netdevs."brlab".netdevConfig = { @@ -39,7 +34,6 @@ in { matchConfig.Name = "lan* end0"; networkConfig.Bridge = "brlan"; }; - "wg".networkConfig.IPForward = mkForce "yes"; }; # TODO investigate why it doesn't work wait-online.enable = false; -- cgit v1.2.3