services._3proxy.services.*.auth
Authentication type. The following values are valid:
"none": disables both authentication and authorization. You can not use ACLs."iponly": specifies no authentication. ACLs authorization is used."strong": authentication by username/password. If user is not registered their access is denied regardless of ACLs.
Double authentication is possible, e.g.
{
auth = [ "iponly" "strong" ];
acl = [
{
rule = "allow";
targets = [ "192.168.0.0/16" ];
}
{
rule = "allow"
users = [ "user1" "user2" ];
}
];
}
In this example strong username authentication is not required to access 192.168.0.0/16.
- Type
list of (one of "none", "iponly", "strong")- Example
[ "iponly" "strong" ]- Declared
- <nixpkgs/nixos/modules/services/networking/3proxy.nix>