From 3f7e04f81b3f4f3da66e332ca0b939bc81d1f2e7 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 13 Feb 2024 14:41:57 -0500 Subject: [PATCH] add op9t wg client --- atauno/configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/atauno/configuration.nix b/atauno/configuration.nix index ef86d2d..9e89c47 100644 --- a/atauno/configuration.nix +++ b/atauno/configuration.nix @@ -115,7 +115,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; @@ -143,6 +143,7 @@ { # Feel free to give a meaning full name # Public key of the peer (not a file path). + # 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/32" ]; @@ -152,6 +153,11 @@ publicKey = "MdHzEaX6BkgOLZcIAFdgxYt0iDdh2vL25jMjuTFVDVM="; allowedIPs = [ "10.100.0.3/32" ]; } + { + # alex android op9t + publicKey = "zVEFb82M79UoBpAkgbiN0MWQqcjmChTFDLQOSRY/VRk="; + allowedIPs = [ "10.100.0.4/32" ]; + } ]; }; };