diff options
author | Astro <astro@spaceboyz.net> | 2022-01-07 17:54:01 +0100 |
---|---|---|
committer | Astro <astro@spaceboyz.net> | 2022-01-07 17:54:01 +0100 |
commit | 422c5a5db556511c2b32fcea552c5a74bea980e3 (patch) | |
tree | a794d6fd7731c36b81f82dcd66008d9504945b86 /nixos/modules/services/networking/stunnel.nix | |
parent | 398051479349f912bc431f31b72195e80a41e077 (diff) |
stunnel: allow servers to connect to other hosts
Diffstat (limited to 'nixos/modules/services/networking/stunnel.nix')
-rw-r--r-- | nixos/modules/services/networking/stunnel.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/stunnel.nix b/nixos/modules/services/networking/stunnel.nix index 70d0a7d3c12ea..df4908a0fff9e 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 { |