docs: improve the wording, add targeted examples
This commit is contained in:
61 files changed
+3422
-5861
No files matched your search
+19
-49
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.userControl
|
||||
|
||||
Let a group use `proxy-ctl` without root.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -12,66 +14,34 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-usercontrol-enable"></a>
|
||||
## services\.proxy-suite\.userControl\.enable
|
||||
|
||||
Whether to enable passwordless ` proxy-ctl ` control for the members of userControl\.group\.
|
||||
Whether to enable ` proxy-ctl ` without root for members of ` userControl.group `\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-usercontrol-group"></a>
|
||||
## services\.proxy-suite\.userControl\.group
|
||||
|
||||
Group whose members may run privileged ` proxy-ctl ` commands without a password\.
|
||||
Group whose members can run privileged ` proxy-ctl ` commands\.
|
||||
|
||||
*Type:*
|
||||
string matching the pattern ^\[a-z_]\[a-z0-9_-]\*$
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"proxy-suite"
|
||||
```
|
||||
**Type:** string matching the pattern ^\[a-z_]\[a-z0-9_-]\*$\
|
||||
**Default:** `"proxy-suite"`
|
||||
|
||||
<a id="services-proxy-suite-usercontrol-scopes"></a>
|
||||
## services\.proxy-suite\.userControl\.scopes
|
||||
|
||||
What userControl\.group may do; empty allows every scope\.
|
||||
What the group may do\. Empty allows everything\.
|
||||
|
||||
- “services”: turn the proxy-suite units on and off (proxy, tun, tproxy, zapret, ssh, warp, tor, tg, awg, inbounds), ` restart `, and ` tor status|newnym ` on Tor’s control socket\.
|
||||
- “perApp”: the per-app backend units used by ` proxy-ctl apps run `\.
|
||||
- “services”: start, stop and restart services, and ` tor newnym `\.
|
||||
- “perApp”: ` proxy-ctl apps run `\.
|
||||
- “routing”: ` proxy pin `, ` proxy unpin ` and ` proxy mode `\.
|
||||
- “outbounds”: add and remove runtime outbounds and subscriptions, disable and enable outbounds, and update subscriptions\.
|
||||
- “secrets”: read share links, subscription URLs and the running configs\.
|
||||
- “autoProxy”: read what autoProxy learned, and ` proxy auto learn|forget|relearn|clear `\.
|
||||
- “zapret”: edit zapret2’s learned hosts, and ` zapret cutoff probe `\.
|
||||
- “outbounds”: add, remove, enable and disable outbounds and subscriptions\.
|
||||
- “secrets”: read share links, subscription URLs and running configs\.
|
||||
- “autoProxy”: see and change what autoProxy learned\.
|
||||
- “zapret”: change zapret2’s learned sites, and ` zapret cutoff probe `\.
|
||||
- “stats”: ` inbounds stats `\.
|
||||
- “whitelistBypass”: the whitelist-bypass creators and joiners: ` wl on|off|toggle|restart `, their calls (` wl link `), and their logins and links (` wl auth|join|new `)\.
|
||||
- “whitelistBypass”: everything under ` proxy-ctl wl `\.
|
||||
|
||||
*Type:*
|
||||
list of (one of “services”, “perApp”, “routing”, “outbounds”, “secrets”, “autoProxy”, “zapret”, “stats”, “whitelistBypass”)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"services"
|
||||
"routing"
|
||||
]
|
||||
```
|
||||
**Type:** list of (one of “services”, “perApp”, “routing”, “outbounds”, “secrets”, “autoProxy”, “zapret”, “stats”, “whitelistBypass”)\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "services" "routing" ]`
|
||||
Reference in new issue
Block a user