diff --git a/nixos/modules/services/networking/3proxy.nix b/nixos/modules/services/networking/3proxy.nix index d922e2f41c6..26aa1667946 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. ''; };