diff --git a/machines/orbi/network-wireguard.nix b/machines/orbi/network-wireguard.nix index 231df40..09a9710 100644 --- a/machines/orbi/network-wireguard.nix +++ b/machines/orbi/network-wireguard.nix @@ -65,6 +65,11 @@ in publicKey = "8f8fYGymH3Tq8d14B2+ijMiHwocEbUIXSZji3U29IhA="; allowedIPs = [ "10.100.0.103/32" ]; } + { + # ipad tina + publicKey = "kuzUJn+lROh7ttA0qMc2p1abpfxjDGeYA+Ryzm88+AE="; + allowedIPs = [ "10.100.0.104/32" ]; + } ]; }; }; diff --git a/scripts/wireguard-client.sh b/scripts/wireguard-client.sh index ea05836..79d798a 100644 --- a/scripts/wireguard-client.sh +++ b/scripts/wireguard-client.sh @@ -2,8 +2,8 @@ # # Create a new wireguard client -client_name="iphone tina" -client_ip=10.100.0.103 +client_name="ipad tina" +client_ip=10.100.0.104 private_key=$(wg genkey) public_key=$(echo "$private_key" | wg pubkey)