diff options
-rw-r--r-- | modules/vpn.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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"]; } |