From 77e0077b698aaba7c90fc3dfedb90a9ef47b2988 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 7 Oct 2023 11:43:25 -0400 Subject: fix --- modules/vpn.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/vpn.nix') diff --git a/modules/vpn.nix b/modules/vpn.nix index 27cb83f..e646a39 100644 --- a/modules/vpn.nix +++ b/modules/vpn.nix @@ -82,7 +82,7 @@ in { peers = [ { name = "dragon"; - endpoint = "vpn.orbekk.com"; + endpoint = "vpn.orbekk.com:${toString cfg.listenPort}"; publicKey = "9q8aH3R8YBfP3xiTmN5bNiLQswY5dy3grB/P0vDqP0M="; allowedIPs = ["${vpn-prefix}::/64"]; } -- cgit v1.2.3