From b6f87c688b224c1d79bd7e8b8d2bdbeda3e20c76 Mon Sep 17 00:00:00 2001 From: misuzu Date: Fri, 20 Dec 2019 00:17:49 +0200 Subject: nixos/3proxy: manual validation fix --- nixos/modules/services/networking/3proxy.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/services/networking/3proxy.nix b/nixos/modules/services/networking/3proxy.nix index d922e2f41c6a..26aa16679467 100644 --- a/nixos/modules/services/networking/3proxy.nix +++ b/nixos/modules/services/networking/3proxy.nix @@ -23,17 +23,17 @@ in { Example users file with plain-text passwords: - + test1:CL:password1 test2:CL:password2 - + Example users file with md5-crypted passwords: - + test1:CR:$1$tFkisVd2$1GA8JXkRmTXdLDytM/i3a1 test2:CR:$1$rkpibm5J$Aq1.9VtYAn0JrqZ8M.1ME. - + You can generate md5-crypted passwords via https://unix4lyfe.org/crypt/ Note that htpasswd tool generates incompatible md5-crypted passwords. @@ -129,7 +129,8 @@ in { Double authentication is possible, e.g. - + + { auth = [ "iponly" "strong" ]; acl = [ @@ -143,7 +144,7 @@ in { } ]; } - + In this example strong username authentication is not required to access 192.168.0.0/16. ''; }; -- cgit 1.4.1