From 42dc912730f4beb46a2a3b5e7fda0bda8eadc03f Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@privatestorage.io> Date: Thu, 27 May 2021 12:25:24 +0000 Subject: [PATCH] Use wireguard default port --- nixos/modules/monitoring/vpn/client.nix | 2 +- nixos/modules/monitoring/vpn/server.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/monitoring/vpn/client.nix b/nixos/modules/monitoring/vpn/client.nix index 921a37aa..58991d05 100644 --- a/nixos/modules/monitoring/vpn/client.nix +++ b/nixos/modules/monitoring/vpn/client.nix @@ -42,7 +42,7 @@ in { endpoint = lib.mkOption { type = lib.types.str; example = lib.literalExample "vpn.monitoring.private.storage:54321"; - default = "192.168.67.24:54321"; + default = "192.168.67.24:51820"; description = '' The address and port number of the server to establish the VPN with. ''; diff --git a/nixos/modules/monitoring/vpn/server.nix b/nixos/modules/monitoring/vpn/server.nix index 227207a7..b7f8c00c 100644 --- a/nixos/modules/monitoring/vpn/server.nix +++ b/nixos/modules/monitoring/vpn/server.nix @@ -37,7 +37,7 @@ in { port = lib.mkOption { type = lib.types.port; example = lib.literalExample 54321; - default = 54321; + default = 51820; description = '' The UDP port to listen on. ''; -- GitLab