From 422c5a5db556511c2b32fcea552c5a74bea980e3 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 7 Jan 2022 17:54:01 +0100 Subject: stunnel: allow servers to connect to other hosts --- nixos/modules/services/networking/stunnel.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/stunnel.nix b/nixos/modules/services/networking/stunnel.nix index 70d0a7d3c12..df4908a0fff 100644 --- a/nixos/modules/services/networking/stunnel.nix +++ b/nixos/modules/services/networking/stunnel.nix @@ -25,8 +25,8 @@ let }; connect = mkOption { - type = types.int; - description = "To which port the decrypted connection should be forwarded."; + type = types.either types.str types.int; + description = "Port or IP:Port to which the decrypted connection should be forwarded."; }; cert = mkOption { -- cgit 1.4.1