From de39af93c3f8af6f6b8688157b3dd6c00eb60ec7 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 14 Feb 2024 17:42:55 -0500 Subject: [PATCH] fix wg? --- atauno/configuration.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/atauno/configuration.nix b/atauno/configuration.nix index fa14fb1..594ce10 100644 --- a/atauno/configuration.nix +++ b/atauno/configuration.nix @@ -116,7 +116,7 @@ # "wg0" is the network interface name. You can name the interface arbitrarily. wg0 = { # Determines the IP address and subnet of the server's end of the tunnel interface. - ips = [ "10.100.0.1/24" ]; + ips = [ "10.100.0.1/32" ]; # The port that WireGuard listens to. Must be accessible by the client. listenPort = 51820; @@ -147,17 +147,17 @@ # nixos76 laptop publicKey = "KVViY+Bgu7PoBeS+rthcyQVQB03IdolxDzc5ZwsdNnM="; # List of IPs assigned to this peer within the tunnel subnet. Used to configure routing. - allowedIPs = [ "10.100.0.2/24" ]; + allowedIPs = [ "10.100.0.2/32" ]; } { # josh's laptop publicKey = "MdHzEaX6BkgOLZcIAFdgxYt0iDdh2vL25jMjuTFVDVM="; - allowedIPs = [ "10.100.0.3/24" ]; + allowedIPs = [ "10.100.0.3/32" ]; } { # alex android op9t publicKey = "zVEFb82M79UoBpAkgbiN0MWQqcjmChTFDLQOSRY/VRk="; - allowedIPs = [ "10.100.0.4/24" ]; + allowedIPs = [ "10.100.0.4/32" ]; } ]; };