summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/vpn/definition.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/vpn/definition.nix b/modules/vpn/definition.nix
index 8d57593..60ea5d0 100644
--- a/modules/vpn/definition.nix
+++ b/modules/vpn/definition.nix
@@ -65,4 +65,11 @@
   # each other, even though they know that the keys don't actually match up,
   # it's not possible to see that on the outside.
   mask = "microsoft.com";
+
+  # we don't actually need this to configure the tunnel, but this is
+  # the public key of the ingress interface.
+  # when creating wireguard vpn configurations for the users, this
+  # is the public key of the server peer at `tunnel.rnrd.eu`.
+  # the matching private key of the pair is the secret `vpn/ingress-key`.
+  ingress.public = "s5yyPCJiN0uqW0jzKIbYCF7I9TthymiRzpNt466XeWk=";
 }