services._3proxy.services.*.auth

NixOS option

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")
Default
[ ]
Example
[
  "iponly"
  "strong"
]
declared in: nixos/modules/services/networking/3proxy.nixView source on NixOS/nixpkgs →