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" ]; } ]; };