docs: improve the wording, add targeted examples
This commit is contained in:
61 files changed
+3422
-5861
No files matched your search
+170
-564
File diff suppressed because it is too large.
Load diff
+11
-27
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.geodata
|
||||
|
||||
Geosite and geoip databases used by routing.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -14,42 +16,24 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-geodata-singbox-geoip"></a>
|
||||
## services\.proxy-suite\.geodata\.singBox\.geoip
|
||||
|
||||
Package with share/sing-box/rule-set/geoip-NAME\.srs (country codes by default)\.
|
||||
Package with share/sing-box/rule-set/geoip-NAME\.srs (countries by default)\.
|
||||
|
||||
*Type:*
|
||||
package
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
pkgs.sing-geoip
|
||||
```
|
||||
**Type:** package\
|
||||
**Default:** `pkgs.sing-geoip`
|
||||
|
||||
<a id="services-proxy-suite-geodata-singbox-geosite"></a>
|
||||
## services\.proxy-suite\.geodata\.singBox\.geosite
|
||||
|
||||
Package with share/sing-box/rule-set/geosite-NAME\.srs\.
|
||||
|
||||
*Type:*
|
||||
package
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
pkgs.sing-geosite
|
||||
```
|
||||
**Type:** package\
|
||||
**Default:** `pkgs.sing-geosite`
|
||||
|
||||
<a id="services-proxy-suite-geodata-xray-assets"></a>
|
||||
## services\.proxy-suite\.geodata\.xray\.assets
|
||||
|
||||
Package with share/v2ray/{geoip,geosite}\.dat for every XRay process\. Null uses XRay’s own
|
||||
country-only data, where a tag like “geoip:telegram” stops XRay from starting\.
|
||||
Package with share/v2ray/{geoip,geosite}\.dat for XRay\. ` null `: XRay’s built-in data,
|
||||
which only has countries, so a tag like “geoip:telegram” breaks XRay\.
|
||||
|
||||
*Type:*
|
||||
null or package
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
pkgs.v2ray-rules-dat
|
||||
```
|
||||
**Type:** null or package\
|
||||
**Default:** `pkgs.v2ray-rules-dat`
|
||||
+11
-34
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.gui
|
||||
|
||||
The desktop app with a tray icon.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -12,48 +14,23 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-gui-enable"></a>
|
||||
## services\.proxy-suite\.gui\.enable
|
||||
|
||||
Whether to enable Proxy Suite GUI, a desktop app with a tray icon for everything proxy-ctl controls at runtime\.
|
||||
Whether to enable Proxy Suite GUI, a desktop app with a tray icon\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-gui-autostart"></a>
|
||||
## services\.proxy-suite\.gui\.autostart
|
||||
|
||||
Start the GUI hidden in the tray with graphical sessions, as the
|
||||
` proxy-suite-gui ` systemd user unit on ` graphical-session.target `\.
|
||||
Start the GUI in the tray on login to a graphical session\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-gui-refreshinterval"></a>
|
||||
## services\.proxy-suite\.gui\.refreshInterval
|
||||
|
||||
Status refresh interval, in seconds\.
|
||||
How often the status refreshes, in seconds\.
|
||||
|
||||
*Type:*
|
||||
positive integer, meaning >0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
3
|
||||
```
|
||||
**Type:** positive integer, meaning >0\
|
||||
**Default:** `3`
|
||||
+369
-1300
File diff suppressed because it is too large.
Load diff
+29
-34
@@ -6,24 +6,37 @@ Update the module option docs there instead of editing these files by hand.
|
||||
|
||||
## Option groups
|
||||
|
||||
- [amneziaWg](./amneziaWg.md)
|
||||
- [geodata](./geodata.md)
|
||||
- [gui](./gui.md)
|
||||
- [inbounds](./inbounds.md)
|
||||
- [killSwitch](./killSwitch.md)
|
||||
- [perAppRouting](./perAppRouting.md)
|
||||
- [proxy](./proxy.md)
|
||||
- [sshProxy](./sshProxy.md)
|
||||
- [tgWsProxy](./tgWsProxy.md)
|
||||
- [tor](./tor.md)
|
||||
- [tui](./tui.md)
|
||||
- [userControl](./userControl.md)
|
||||
- [warp](./warp.md)
|
||||
- [whitelistBypass](./whitelistBypass.md)
|
||||
- [zapret](./zapret.md)
|
||||
| Group | What it covers |
|
||||
|---|---|
|
||||
| [proxy](./proxy.md) | The local proxy: outbounds, subscriptions, selection, routing, DNS, TUN and TProxy. |
|
||||
| [killSwitch](./killSwitch.md) | Block traffic outside the global tunnel. |
|
||||
| [perAppRouting](./perAppRouting.md) | Route single apps through proxychains, a per-app TUN or TProxy, or zapret. |
|
||||
| [zapret](./zapret.md) | DPI bypass without a proxy: zapret-discord-youtube or zapret2. |
|
||||
| [amneziaWg](./amneziaWg.md) | AmneziaWG client profiles, as a global VPN or as outbounds. |
|
||||
| [warp](./warp.md) | Cloudflare WARP, as an outbound or an AmneziaWG profile. |
|
||||
| [tor](./tor.md) | Tor as an outbound, with bridges, and an onion service for the inbounds. |
|
||||
| [sshProxy](./sshProxy.md) | An SSH SOCKS5 tunnel, optionally as an outbound. |
|
||||
| [tgWsProxy](./tgWsProxy.md) | A Telegram MTProto proxy over WebSocket. |
|
||||
| [whitelistBypass](./whitelistBypass.md) | Tunnels through video-call servers, past mobile internet whitelists. |
|
||||
| [inbounds](./inbounds.md) | Server side: listeners for remote clients, share links, subscriptions and stats. |
|
||||
| [geodata](./geodata.md) | Geosite and geoip databases used by routing. |
|
||||
| [userControl](./userControl.md) | Let a group use `proxy-ctl` without root. |
|
||||
| [gui](./gui.md) | The desktop app with a tray icon. |
|
||||
| [tui](./tui.md) | The `proxy-tui` terminal UI. |
|
||||
|
||||
<a id="services-proxy-suite-enable"></a>
|
||||
## services\.proxy-suite\.enable
|
||||
|
||||
Whether to enable proxy-suite\.
|
||||
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
## Complete default config
|
||||
|
||||
<details>
|
||||
<summary>Every option at its default</summary>
|
||||
|
||||
```nix
|
||||
services.proxy-suite = {
|
||||
amneziaWg = {
|
||||
@@ -365,22 +378,4 @@ services.proxy-suite = {
|
||||
};
|
||||
```
|
||||
|
||||
<a id="services-proxy-suite-enable"></a>
|
||||
## services\.proxy-suite\.enable
|
||||
|
||||
Whether to enable proxy-suite\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
</details>
|
||||
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.killSwitch
|
||||
|
||||
Block traffic outside the global tunnel.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -10,25 +12,10 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-killswitch-enable"></a>
|
||||
## services\.proxy-suite\.killSwitch\.enable
|
||||
|
||||
Whether to enable a kill switch for the global tunnels (proxy\.tun, proxy\.tproxy and global AmneziaWG profiles):
|
||||
once one starts, outgoing traffic that would leave outside it is rejected, also while it
|
||||
restarts, after it crashes or after its handshake gives up\. LAN destinations, DHCP and NTP
|
||||
stay open; tproxy\.lanInterfaces clients keep the LAN but lose the internet\. Only
|
||||
` proxy-ctl killswitch off `, ` proxy off `, ` proxy tun off `, ` proxy tproxy off ` or ` awg off `
|
||||
lift it (proxy-suite-killswitch)
|
||||
\.
|
||||
Block outgoing traffic that bypasses the active global tunnel (TUN, TProxy or a global
|
||||
AmneziaWG profile), including while it restarts or after it fails\. LAN, DHCP and NTP stay
|
||||
open; ` proxy.tproxy.lanInterfaces ` devices keep the LAN but lose the internet\. Only turning
|
||||
the tunnel off, or ` proxy-ctl killswitch off `, lifts it\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
+71
-261
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.perAppRouting
|
||||
|
||||
Route single apps through proxychains, a per-app TUN or TProxy, or zapret.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -38,370 +40,178 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
Whether to enable per-app routing (` proxy-ctl apps run `)\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-createdefaultprofiles"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.createDefaultProfiles
|
||||
|
||||
Add a profile named after each enabled backend (proxychains, tun, tproxy, zapret) unless
|
||||
one with that name already exists\.
|
||||
Add a profile for each enabled method (proxychains, tun, tproxy, zapret), named after it,
|
||||
unless one already exists\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-profiles"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.profiles
|
||||
|
||||
Profiles for ` proxy-ctl apps run <name> -- <command> `\.
|
||||
|
||||
*Type:*
|
||||
list of (submodule)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
{
|
||||
name = "steam-browser";
|
||||
route = "proxychains";
|
||||
}
|
||||
]
|
||||
```
|
||||
**Type:** list of (submodule)\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ { name = "steam-browser"; route = "proxychains"; } ]`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-profiles-name"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.profiles\.\*\.name
|
||||
|
||||
Profile name, unique\.
|
||||
Unique profile name\.
|
||||
|
||||
*Type:*
|
||||
string matching the pattern ^\[a-z0-9]\[a-z0-9-]\*$
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"steam-browser"
|
||||
```
|
||||
**Type:** string matching the pattern ^\[a-z0-9]\[a-z0-9-]\*$\
|
||||
**Example:** `"steam-browser"`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-profiles-route"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.profiles\.\*\.route
|
||||
|
||||
Backend: “direct” (unchanged), “proxychains”, or the per-app “tun”, “tproxy” or “zapret”
|
||||
backend of perAppRouting\.
|
||||
How the app is routed: “direct” (untouched), “proxychains”, or the per-app “tun”,
|
||||
“tproxy” or “zapret”\.
|
||||
|
||||
*Type:*
|
||||
one of “direct”, “proxychains”, “tun”, “tproxy”, “zapret”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"proxychains"
|
||||
```
|
||||
**Type:** one of “direct”, “proxychains”, “tun”, “tproxy”, “zapret”\
|
||||
**Default:** `"proxychains"`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-proxychains-enable"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.proxychains\.enable
|
||||
|
||||
Whether to enable the proxychains backend (TCP apps, through LD_PRELOAD)\.
|
||||
Whether to enable proxychains (TCP only, does not work with static binaries)\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-proxychains-proxydns"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.proxychains\.proxyDns
|
||||
|
||||
Resolve DNS through the proxy (proxy_dns)\.
|
||||
Resolve DNS through the proxy\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-proxychains-quiet"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.proxychains\.quiet
|
||||
|
||||
Silence proxychains (quiet_mode)\.
|
||||
Hide proxychains output\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tproxy-enable"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tproxy\.enable
|
||||
|
||||
Whether to enable the per-app TProxy backend\.
|
||||
Whether to enable per-app TProxy\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tproxy-fwmark"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tproxy\.fwmark
|
||||
|
||||
Mark that steers wrapped apps into routeTable\.
|
||||
Firewall mark for wrapped apps’ traffic\.
|
||||
|
||||
*Type:*
|
||||
signed integer
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
17
|
||||
```
|
||||
**Type:** signed integer\
|
||||
**Default:** `17`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tproxy-localsubnets"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tproxy\.localSubnets
|
||||
|
||||
Subnets that bypass interception (DNS excepted)\.
|
||||
Subnets that skip the proxy (DNS still goes through it)\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"192.168.0.0/16"
|
||||
]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"192.168.0.0/16"
|
||||
"10.0.0.0/8"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ "192.168.0.0/16" ]`\
|
||||
**Example:** `[ "192.168.0.0/16" "10.0.0.0/8" ]`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tproxy-routetable"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tproxy\.routeTable
|
||||
|
||||
Policy-routing table of the per-app TProxy\.
|
||||
Routing table for the per-app TProxy\.
|
||||
|
||||
*Type:*
|
||||
signed integer
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
102
|
||||
```
|
||||
**Type:** signed integer\
|
||||
**Default:** `102`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tun-enable"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tun\.enable
|
||||
|
||||
Whether to enable the per-app TUN backend\.
|
||||
Whether to enable per-app TUN\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tun-address"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tun\.address
|
||||
|
||||
Per-app TUN interface address (CIDR)\.
|
||||
Interface address (CIDR)\.
|
||||
|
||||
*Type:*
|
||||
string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"172.20.0.1/30"
|
||||
```
|
||||
**Type:** string\
|
||||
**Default:** `"172.20.0.1/30"`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tun-fwmark"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tun\.fwmark
|
||||
|
||||
Mark that steers wrapped apps into routeTable\.
|
||||
Firewall mark for wrapped apps’ traffic\.
|
||||
|
||||
*Type:*
|
||||
signed integer
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
16
|
||||
```
|
||||
**Type:** signed integer\
|
||||
**Default:** `16`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tun-interface"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tun\.interface
|
||||
|
||||
Per-app TUN interface name\.
|
||||
Interface name\.
|
||||
|
||||
*Type:*
|
||||
string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"psperapptun0"
|
||||
```
|
||||
**Type:** string\
|
||||
**Default:** `"psperapptun0"`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tun-localsubnets"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tun\.localSubnets
|
||||
|
||||
Subnets wrapped apps reach directly (DNS excepted)\.
|
||||
Subnets that skip the proxy (DNS still goes through it)\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"192.168.0.0/16"
|
||||
]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"192.168.0.0/16"
|
||||
"10.0.0.0/8"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ "192.168.0.0/16" ]`\
|
||||
**Example:** `[ "192.168.0.0/16" "10.0.0.0/8" ]`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tun-mtu"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tun\.mtu
|
||||
|
||||
Per-app TUN interface MTU\.
|
||||
Interface MTU\.
|
||||
|
||||
*Type:*
|
||||
signed integer
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
1400
|
||||
```
|
||||
**Type:** signed integer\
|
||||
**Default:** `1400`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-tun-routetable"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.tun\.routeTable
|
||||
|
||||
Policy-routing table of the per-app TUN\.
|
||||
Routing table for the per-app TUN\.
|
||||
|
||||
*Type:*
|
||||
signed integer
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
101
|
||||
```
|
||||
**Type:** signed integer\
|
||||
**Default:** `101`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-zapret-enable"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.zapret\.enable
|
||||
|
||||
Whether to enable the per-app zapret backend: a second zapret instance for wrapped apps only\.
|
||||
Whether to enable per-app zapret, a separate zapret for wrapped apps only\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-zapret-filtermark"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.zapret\.filterMark
|
||||
|
||||
Mark bit that selects wrapped app traffic\.
|
||||
Firewall mark bit for wrapped apps’ traffic\.
|
||||
|
||||
*Type:*
|
||||
signed integer
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
268435456
|
||||
```
|
||||
**Type:** signed integer\
|
||||
**Default:** `268435456`
|
||||
|
||||
<a id="services-proxy-suite-perapprouting-zapret-qnum"></a>
|
||||
## services\.proxy-suite\.perAppRouting\.zapret\.qnum
|
||||
|
||||
NFQUEUE number\. Must differ from the global instance’s\.
|
||||
NFQUEUE number\. Must differ from the global zapret’s\.
|
||||
|
||||
*Type:*
|
||||
signed integer
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
201
|
||||
```
|
||||
**Type:** signed integer\
|
||||
**Default:** `201`
|
||||
+387
-1425
File diff suppressed because it is too large.
Load diff
+52
-200
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.sshProxy
|
||||
|
||||
An SSH SOCKS5 tunnel, optionally as an outbound.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -26,282 +28,132 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-sshproxy-enable"></a>
|
||||
## services\.proxy-suite\.sshProxy\.enable
|
||||
|
||||
Whether to enable an SSH dynamic SOCKS5 tunnel\.
|
||||
Whether to enable an SSH SOCKS5 tunnel\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-asoutbound"></a>
|
||||
## services\.proxy-suite\.sshProxy\.asOutbound
|
||||
|
||||
Add the tunnel as an outbound tagged “ssh-proxy”\. sing-box dials SSH itself; XRay goes
|
||||
through the OpenSSH unit’s SOCKS listener\.
|
||||
Add the tunnel as an outbound tagged “ssh-proxy”\. On sing-box and hybrid, sing-box connects
|
||||
over SSH itself and needs ` hostKey ` or ` hostKeyFile `\. Otherwise OpenSSH runs a SOCKS listener, set up
|
||||
by ` listener `, ` knownHostsFile `, ` strictHostKeyChecking `, ` serviceUser ` and ` extraArgs `\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-domainstrategy"></a>
|
||||
## services\.proxy-suite\.sshProxy\.domainStrategy
|
||||
|
||||
Resolve destinations locally before the tunnel (XRay only)\. Can break geo-steered CDNs\.
|
||||
Resolve names locally instead of on the server (XRay only)\. Can make CDNs pick distant servers\.
|
||||
|
||||
*Type:*
|
||||
null or one of “prefer_ipv4”, “prefer_ipv6”, “ipv4_only”, “ipv6_only”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"prefer_ipv4"
|
||||
```
|
||||
**Type:** null or one of “prefer_ipv4”, “prefer_ipv6”, “ipv4_only”, “ipv6_only”\
|
||||
**Default:** `null`\
|
||||
**Example:** `"prefer_ipv4"`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-extraargs"></a>
|
||||
## services\.proxy-suite\.sshProxy\.extraArgs
|
||||
|
||||
Extra OpenSSH arguments\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"-J"
|
||||
"jump.example.com"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "-J" "jump.example.com" ]`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-hostkey"></a>
|
||||
## services\.proxy-suite\.sshProxy\.hostKey
|
||||
|
||||
Accepted host keys (sing-box)\. List every key ` ssh-keyscan ` prints: the algorithm is
|
||||
negotiated\. Empty accepts any key\.
|
||||
Accepted host keys, for sing-box\. List every key ` ssh-keyscan ` prints, since the key type
|
||||
is negotiated\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI..."
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI..." ]`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-hostkeyfile"></a>
|
||||
## services\.proxy-suite\.sshProxy\.hostKeyFile
|
||||
|
||||
Known-hosts file to read hostKey from at runtime (sing-box)\. Wins over hostKey\.
|
||||
Known-hosts file to read host keys from (sing-box)\. Takes priority over ` hostKey `\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/root/.ssh/known_hosts"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/root/.ssh/known_hosts"`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-identityfile"></a>
|
||||
## services\.proxy-suite\.sshProxy\.identityFile
|
||||
|
||||
Runtime path to the private key; it may stay root-only, as the daemons get a copy they can read\. Null uses the agent or OpenSSH defaults\.
|
||||
File with the SSH private key\. It can stay root-only\. ` null `: the agent or OpenSSH defaults\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/proxy-suite-ssh-key"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/proxy-suite-ssh-key"`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-knownhostsfile"></a>
|
||||
## services\.proxy-suite\.sshProxy\.knownHostsFile
|
||||
|
||||
Known-hosts file for OpenSSH\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/proxy-suite-ssh-known-hosts"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/proxy-suite-ssh-known-hosts"`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-listener-address"></a>
|
||||
## services\.proxy-suite\.sshProxy\.listener\.address
|
||||
|
||||
Address of the OpenSSH SOCKS5 listener\.
|
||||
|
||||
*Type:*
|
||||
string matching the pattern \[^\[:space:]]+
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"127.0.0.1"
|
||||
```
|
||||
**Type:** string matching the pattern \[^\[:space:]]+\
|
||||
**Default:** `"127.0.0.1"`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-listener-port"></a>
|
||||
## services\.proxy-suite\.sshProxy\.listener\.port
|
||||
|
||||
Port of the OpenSSH SOCKS5 listener\.
|
||||
|
||||
*Type:*
|
||||
16 bit unsigned integer; between 0 and 65535 (both inclusive)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
1091
|
||||
```
|
||||
**Type:** 16 bit unsigned integer; between 0 and 65535 (both inclusive)\
|
||||
**Default:** `1091`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-server-host"></a>
|
||||
## services\.proxy-suite\.sshProxy\.server\.host
|
||||
|
||||
SSH server\.
|
||||
|
||||
*Type:*
|
||||
null or string matching the pattern \[^\[:space:]]+
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"ssh.example.com"
|
||||
```
|
||||
**Type:** null or string matching the pattern \[^\[:space:]]+\
|
||||
**Default:** `null`\
|
||||
**Example:** `"ssh.example.com"`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-server-port"></a>
|
||||
## services\.proxy-suite\.sshProxy\.server\.port
|
||||
|
||||
SSH server port\.
|
||||
|
||||
*Type:*
|
||||
16 bit unsigned integer; between 0 and 65535 (both inclusive)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
22
|
||||
```
|
||||
**Type:** 16 bit unsigned integer; between 0 and 65535 (both inclusive)\
|
||||
**Default:** `22`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-server-user"></a>
|
||||
## services\.proxy-suite\.sshProxy\.server\.user
|
||||
|
||||
SSH login user\.
|
||||
|
||||
*Type:*
|
||||
null or string matching the pattern \[^\[:space:]]+
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"root"
|
||||
```
|
||||
**Type:** null or string matching the pattern \[^\[:space:]]+\
|
||||
**Default:** `null`\
|
||||
**Example:** `"root"`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-serviceuser"></a>
|
||||
## services\.proxy-suite\.sshProxy\.serviceUser
|
||||
|
||||
Unix user running the OpenSSH unit\. The default, proxy-suite-daemon, runs sandboxed and keeps accepted host keys in /var/lib/proxy-suite/ssh; null runs it as root\.
|
||||
User that runs OpenSSH\. The default is sandboxed; ` null ` runs it as root\.
|
||||
|
||||
*Type:*
|
||||
null or string matching the pattern \[^\[:space:]]+
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"proxy-suite-daemon"
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"proxy"
|
||||
```
|
||||
**Type:** null or string matching the pattern \[^\[:space:]]+\
|
||||
**Default:** `"proxy-suite-daemon"`\
|
||||
**Example:** `"proxy"`
|
||||
|
||||
<a id="services-proxy-suite-sshproxy-stricthostkeychecking"></a>
|
||||
## services\.proxy-suite\.sshProxy\.strictHostKeyChecking
|
||||
|
||||
OpenSSH host key policy\.
|
||||
|
||||
*Type:*
|
||||
one of “yes”, “accept-new”, “no”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"accept-new"
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"yes"
|
||||
```
|
||||
**Type:** one of “yes”, “accept-new”, “no”\
|
||||
**Default:** `"accept-new"`\
|
||||
**Example:** `"yes"`
|
||||
+64
-223
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.tgWsProxy
|
||||
|
||||
A Telegram MTProto proxy over WebSocket.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -31,319 +33,158 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-tgwsproxy-enable"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.enable
|
||||
|
||||
Whether to enable the Telegram MTProto WebSocket proxy\.
|
||||
Whether to enable the Telegram WebSocket proxy (MTProto)\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-bufferkib"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.bufferKiB
|
||||
|
||||
Socket buffer size, in KiB\.
|
||||
|
||||
*Type:*
|
||||
integer between 4 and 2147483647 (both inclusive)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
256
|
||||
```
|
||||
**Type:** integer between 4 and 2147483647 (both inclusive)\
|
||||
**Default:** `256`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-bypasstransparentproxy"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.bypassTransparentProxy
|
||||
|
||||
Keep the relay’s own connections out of TUN/TProxy, which would otherwise loop them\.
|
||||
Keep the relay’s own connections out of TUN and TProxy, so they do not loop\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-cloudflare-domains"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.cloudflare\.domains
|
||||
|
||||
Cloudflare-proxied domains for WebSocket fallback\.
|
||||
Domains behind Cloudflare to fall back to\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"cdn.example.com"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "cdn.example.com" ]`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-cloudflare-fallback"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.cloudflare\.fallback
|
||||
|
||||
Fall back to Cloudflare when direct WebSocket fails\.
|
||||
Fall back to Cloudflare when a direct WebSocket fails\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-cloudflare-workerdomains"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.cloudflare\.workerDomains
|
||||
|
||||
Cloudflare Worker domains, tried first\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"worker.example.com"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "worker.example.com" ]`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-dcips"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.dcIps
|
||||
|
||||
Relay IP per Telegram DC ID\.
|
||||
Relay IP for each Telegram DC ID\.
|
||||
|
||||
*Type:*
|
||||
attribute set of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
{ }
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
{
|
||||
"2" = "149.154.167.220";
|
||||
}
|
||||
```
|
||||
**Type:** attribute set of string\
|
||||
**Default:** `{ }`\
|
||||
**Example:** `{ "2" = "149.154.167.220"; }`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-faketlsdomain"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.fakeTlsDomain
|
||||
|
||||
SNI for Fake TLS masking (ee-secret links)\.
|
||||
Domain to disguise traffic as, with Fake TLS (ee-secret links)\.
|
||||
|
||||
*Type:*
|
||||
null or string matching the pattern \.+
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"www.example.com"
|
||||
```
|
||||
**Type:** null or string matching the pattern \.+\
|
||||
**Default:** `null`\
|
||||
**Example:** `"www.example.com"`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-fwmark"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.fwmark
|
||||
|
||||
Packet mark bypassTransparentProxy uses\.
|
||||
Firewall mark for ` bypassTransparentProxy `\.
|
||||
|
||||
*Type:*
|
||||
signed integer
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
4
|
||||
```
|
||||
**Type:** signed integer\
|
||||
**Default:** `4`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-listener-address"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.listener\.address
|
||||
|
||||
Bind address\.
|
||||
Listening address\.
|
||||
|
||||
*Type:*
|
||||
string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"127.0.0.1"
|
||||
```
|
||||
**Type:** string\
|
||||
**Default:** `"127.0.0.1"`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-listener-port"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.listener\.port
|
||||
|
||||
Listen port\.
|
||||
Listening port\.
|
||||
|
||||
*Type:*
|
||||
16 bit unsigned integer; between 0 and 65535 (both inclusive)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
1443
|
||||
```
|
||||
**Type:** 16 bit unsigned integer; between 0 and 65535 (both inclusive)\
|
||||
**Default:** `1443`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-log-file"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.log\.file
|
||||
|
||||
Rotating log file, written as the proxy-suite-daemon user; /var/log/proxy-suite-tg-ws-proxy is created for it\. Null logs to stderr\.
|
||||
Log file, rotated\. ` null `: log to the journal\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/var/log/proxy-suite-tg-ws-proxy/tg-ws-proxy.log"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/var/log/proxy-suite-tg-ws-proxy/tg-ws-proxy.log"`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-log-keep"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.log\.keep
|
||||
|
||||
Rotated logs kept\.
|
||||
Number of rotated logs to keep\.
|
||||
|
||||
*Type:*
|
||||
positive integer, meaning >0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
1
|
||||
```
|
||||
**Type:** positive integer, meaning >0\
|
||||
**Default:** `1`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-log-maxsizemib"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.log\.maxSizeMiB
|
||||
|
||||
Log size before rotation, in MiB\.
|
||||
Rotate the log at this size, in MiB\.
|
||||
|
||||
*Type:*
|
||||
positive integer or floating point number, meaning >0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
5.0
|
||||
```
|
||||
**Type:** positive integer or floating point number, meaning >0\
|
||||
**Default:** `5.0`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-log-verbose"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.log\.verbose
|
||||
|
||||
Debug logging\.
|
||||
Log debug messages\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-poolsize"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.poolSize
|
||||
|
||||
WebSocket pool size per DC; 0 disables pooling\.
|
||||
Idle WebSockets kept open per DC\. 0 disables\.
|
||||
|
||||
*Type:*
|
||||
unsigned integer, meaning >=0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
4
|
||||
```
|
||||
**Type:** unsigned integer, meaning >=0\
|
||||
**Default:** `4`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-proxyprotocol"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.proxyProtocol
|
||||
|
||||
Accept a PROXY protocol v1 header from a fronting reverse proxy\.
|
||||
Accept a PROXY protocol v1 header from a reverse proxy in front\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-secret"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.secret
|
||||
|
||||
Inline MTProto secret (` openssl rand -hex 16 `)\. Ends up in the Nix store; prefer secretFile\.
|
||||
MTProto secret (` openssl rand -hex 16 `)\. Ends up in the Nix store; prefer ` secretFile `\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"`
|
||||
|
||||
<a id="services-proxy-suite-tgwsproxy-secretfile"></a>
|
||||
## services\.proxy-suite\.tgWsProxy\.secretFile
|
||||
|
||||
Runtime path to the MTProto secret\.
|
||||
File with the MTProto secret\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/tg-ws-proxy-secret"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/tg-ws-proxy-secret"`
|
||||
+62
-187
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.tor
|
||||
|
||||
Tor as an outbound, with bridges, and an onion service for the inbounds.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -26,90 +28,47 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-tor-enable"></a>
|
||||
## services\.proxy-suite\.tor\.enable
|
||||
|
||||
Whether to enable the Tor daemon (proxy-suite-tor)\.
|
||||
Run Tor\. Also turn on ` asOutbound `, ` onionService.enable `, or both\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-tor-package"></a>
|
||||
## services\.proxy-suite\.tor\.package
|
||||
|
||||
Tor package\.
|
||||
|
||||
*Type:*
|
||||
package
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
pkgs.tor
|
||||
```
|
||||
**Type:** package\
|
||||
**Default:** `pkgs.tor`
|
||||
|
||||
<a id="services-proxy-suite-tor-asoutbound"></a>
|
||||
## services\.proxy-suite\.tor\.asOutbound
|
||||
|
||||
Add Tor as an outbound tagged “tor”: a SOCKS hop to proxy-suite-tor on 127\.0\.0\.1:socksPort,
|
||||
which receives names unresolved\. proxy\.selection and autoProxy leave it alone unless it is the
|
||||
only outbound; route to it with proxy\.routing\.rules or name it as a detour\. Requires proxy\.enable\.
|
||||
Add Tor as an outbound tagged “tor”\. Selection and autoProxy skip it unless it is the only
|
||||
outbound; send traffic to it with ` proxy.routing.rules ` or use it as a ` detour `\.
|
||||
Needs ` proxy.enable `\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-tor-bridges-file"></a>
|
||||
## services\.proxy-suite\.tor\.bridges\.file
|
||||
|
||||
Runtime path to more bridge lines, one per line; blank lines and \# comments are skipped\.
|
||||
File with more bridge lines, one per line\. Blank lines and \# comments are skipped\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/tor-bridges"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/tor-bridges"`
|
||||
|
||||
<a id="services-proxy-suite-tor-bridges-lines"></a>
|
||||
## services\.proxy-suite\.tor\.bridges\.lines
|
||||
|
||||
Bridge lines, as https://bridges\.torproject\.org hands them out, without the leading
|
||||
“Bridge”\. Any given turns on UseBridges; obfs4, webtunnel, meek_lite and snowflake
|
||||
transports are run as needed\.
|
||||
Bridge lines from https://bridges\.torproject\.org, without the leading “Bridge”\. Setting
|
||||
any turns bridges on\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:**
|
||||
|
||||
```nix
|
||||
[
|
||||
@@ -120,34 +79,20 @@ list of string
|
||||
<a id="services-proxy-suite-tor-clientonly"></a>
|
||||
## services\.proxy-suite\.tor\.clientOnly
|
||||
|
||||
Keep Tor a client (ClientOnly 1): never a relay, exit, bridge or directory server, even when
|
||||
extraConfig sets an ORPort\. The onion service works either way\. Turn off only to run a relay
|
||||
through extraConfig\.
|
||||
Keep Tor a client, never a relay, even if ` extraConfig ` sets an ORPort\. The onion service
|
||||
works either way\. Turn off only to run a relay through ` extraConfig `\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-tor-extraconfig"></a>
|
||||
## services\.proxy-suite\.tor\.extraConfig
|
||||
|
||||
Lines appended to the generated torrc\.
|
||||
Extra torrc lines\.
|
||||
|
||||
*Type:*
|
||||
strings concatenated with “\\n”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
""
|
||||
```
|
||||
|
||||
*Example:*
|
||||
**Type:** strings concatenated with “\\n”\
|
||||
**Default:** `""`\
|
||||
**Example:**
|
||||
|
||||
```nix
|
||||
''
|
||||
@@ -159,144 +104,74 @@ strings concatenated with “\\n”
|
||||
<a id="services-proxy-suite-tor-lyrebirdpackage"></a>
|
||||
## services\.proxy-suite\.tor\.lyrebirdPackage
|
||||
|
||||
Pluggable transport for obfs4, webtunnel and meek_lite bridges\.
|
||||
Bridge transport for obfs4, webtunnel and meek_lite\.
|
||||
|
||||
*Type:*
|
||||
package
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
pkgs.lyrebird
|
||||
```
|
||||
**Type:** package\
|
||||
**Default:** `pkgs.lyrebird`
|
||||
|
||||
<a id="services-proxy-suite-tor-onionservice-enable"></a>
|
||||
## services\.proxy-suite\.tor\.onionService\.enable
|
||||
|
||||
Whether to enable an onion service in front of inbounds\.listeners\.
|
||||
Whether to enable an onion service for the server inbounds\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-tor-onionservice-listeners"></a>
|
||||
## services\.proxy-suite\.tor\.onionService\.listeners
|
||||
|
||||
inbounds\.listeners served at the onion address, each on its share port\. Null takes every
|
||||
listener a TCP-only onion can carry: not amneziawg, h3-only xhttp or raw JSON\.
|
||||
Listeners reachable through the onion address\. ` null `: every TCP listener (not
|
||||
amneziawg, h3-only xhttp or raw JSON)\.
|
||||
|
||||
Share links for them (` proxy-ctl inbounds link TAG --onion `, and subscriptions) dial the
|
||||
\.onion address and keep the listener’s TLS and REALITY names\. Clients reach XRay from
|
||||
127\.0\.0\.1, so ` proxy-ctl inbounds online ` does not list them\.
|
||||
Get their links with ` proxy-ctl inbounds link TAG --onion `; subscriptions include them\.
|
||||
Onion clients do not show up in ` proxy-ctl inbounds online `\.
|
||||
|
||||
*Type:*
|
||||
null or (list of string)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"vless-reality"
|
||||
]
|
||||
```
|
||||
**Type:** null or (list of string)\
|
||||
**Default:** `null`\
|
||||
**Example:** `[ "vless-reality" ]`
|
||||
|
||||
<a id="services-proxy-suite-tor-onionservice-secretkeyfile"></a>
|
||||
## services\.proxy-suite\.tor\.onionService\.secretKeyFile
|
||||
|
||||
Runtime path to an hs_ed25519_secret_key, to keep an onion address\. Null lets Tor create
|
||||
one in /var/lib/proxy-suite/tor/onion\.
|
||||
File with an hs_ed25519_secret_key, to keep a fixed onion address\. ` null `: Tor creates one\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/tor-hs_ed25519_secret_key"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/tor-hs_ed25519_secret_key"`
|
||||
|
||||
<a id="services-proxy-suite-tor-routeonion"></a>
|
||||
## services\.proxy-suite\.tor\.routeOnion
|
||||
|
||||
Send \.onion names to the “tor” outbound in every route mode, and keep them away from DNS:
|
||||
in TUN and TProxy modes sing-box answers them with a fake address it maps back to the name,
|
||||
and XRay drops the lookup\. Inbound clients’ \.onion names go the same way, through the local
|
||||
proxy, whatever their listener’s via (except “block”)\. Applies with asOutbound\.
|
||||
Send \.onion names to the “tor” outbound in every route mode, and never resolve them with
|
||||
DNS\. Inbound clients’ \.onion names go there too\. Needs ` asOutbound `\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-tor-snowflakepackage"></a>
|
||||
## services\.proxy-suite\.tor\.snowflakePackage
|
||||
|
||||
Pluggable transport for snowflake bridges\.
|
||||
Bridge transport for snowflake\.
|
||||
|
||||
*Type:*
|
||||
package
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
pkgs.snowflake
|
||||
```
|
||||
**Type:** package\
|
||||
**Default:** `pkgs.snowflake`
|
||||
|
||||
<a id="services-proxy-suite-tor-socksport"></a>
|
||||
## services\.proxy-suite\.tor\.socksPort
|
||||
|
||||
Loopback SOCKS port of proxy-suite-tor, which the tor outbound dials\.
|
||||
Loopback SOCKS port of Tor\.
|
||||
|
||||
*Type:*
|
||||
16 bit unsigned integer; between 0 and 65535 (both inclusive)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
18530
|
||||
```
|
||||
**Type:** 16 bit unsigned integer; between 0 and 65535 (both inclusive)\
|
||||
**Default:** `18530`
|
||||
|
||||
<a id="services-proxy-suite-tor-upstream"></a>
|
||||
## services\.proxy-suite\.tor\.upstream
|
||||
|
||||
How Tor reaches its relays or bridges\.
|
||||
How Tor reaches the network\.
|
||||
|
||||
- “direct”: from the uplink, past TUN and TProxy (it runs as proxy-suite-daemon)\.
|
||||
- “proxy”: through the local proxy listener (proxy\.listener, with its auth), for a network
|
||||
that blocks Tor\. obfs4, webtunnel and meek_lite bridges follow it; snowflake cannot\.
|
||||
- “direct”: straight from the uplink, bypassing TUN and TProxy\.
|
||||
- “proxy”: through the local proxy, for networks that block Tor\. Works with obfs4,
|
||||
webtunnel and meek_lite bridges, but not snowflake\.
|
||||
|
||||
*Type:*
|
||||
one of “direct”, “proxy”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"direct"
|
||||
```
|
||||
**Type:** one of “direct”, “proxy”\
|
||||
**Default:** `"direct"`
|
||||
+5
-15
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.tui
|
||||
|
||||
The `proxy-tui` terminal UI.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -10,19 +12,7 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-tui-enable"></a>
|
||||
## services\.proxy-suite\.tui\.enable
|
||||
|
||||
Whether to enable proxy-tui, an interactive terminal UI for everything proxy-ctl controls at runtime\.
|
||||
Whether to enable proxy-tui, a terminal UI\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
+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" ]`
|
||||
+34
-97
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.warp
|
||||
|
||||
Cloudflare WARP, as an outbound or an AmneziaWG profile.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -15,130 +17,65 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-warp-enable"></a>
|
||||
## services\.proxy-suite\.warp\.enable
|
||||
|
||||
Whether to enable Cloudflare WARP\.
|
||||
Run Cloudflare WARP\. Also set ` asOutbound ` or ` asAmneziaWg `\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-warp-asamneziawg"></a>
|
||||
## services\.proxy-suite\.warp\.asAmneziaWg
|
||||
|
||||
Add an AmneziaWG profile named “warp” (` proxy-ctl awg on warp `)\. Requires amneziaWg\.enable,
|
||||
and excludes asOutbound: both would use the same WARP key\.
|
||||
Add a global AmneziaWG profile named “warp” (` proxy-ctl awg on warp `)\. Needs
|
||||
` amneziaWg.enable `\. Cannot be used with ` asOutbound `\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-warp-asoutbound"></a>
|
||||
## services\.proxy-suite\.warp\.asOutbound
|
||||
|
||||
Add WARP as an outbound tagged “warp”\.
|
||||
|
||||
- “singBox”: a SOCKS hop to proxy-suite-warp-tunnel, which runs WARP as a sing-box WireGuard
|
||||
endpoint on 127\.0\.0\.1:18538, as the proxy-suite-daemon user\. The tunnel starts again on a
|
||||
new source port when WARP does not answer within 15 seconds of a start, or misses three
|
||||
probes later on, unless the uplink itself is down\.
|
||||
- “userspace”: an AmneziaWG profile named “warp” with asOutbound = “userspace”, which honours
|
||||
the AmneziaWG lines of the profile without an interface or root\. Requires amneziaWg\.enable\.
|
||||
- “interface”: an AmneziaWG profile named “warp” with asOutbound = “interface”, which honours
|
||||
the AmneziaWG lines of the profile\. Requires amneziaWg\.enable\.
|
||||
- “singBox”: plain WireGuard in sing-box, ignoring AmneziaWG fields\. Restarts itself when
|
||||
WARP stops answering\.
|
||||
- “userspace”: an AmneziaWG profile, without root\. Needs ` amneziaWg.enable `\.
|
||||
- “interface”: an AmneziaWG profile with its own interface\. Needs ` amneziaWg.enable `\.
|
||||
|
||||
*Type:*
|
||||
null or one of “singBox”, “userspace”, “interface”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
**Type:** null or one of “singBox”, “userspace”, “interface”\
|
||||
**Default:** `null`
|
||||
|
||||
<a id="services-proxy-suite-warp-configfile"></a>
|
||||
## services\.proxy-suite\.warp\.configFile
|
||||
|
||||
Runtime path to a WireGuard profile for WARP, as written by ` wgcf register && wgcf generate `\.
|
||||
AmneziaWG lines (Jc, S1-S4, H1-H4, I1-I5, AWG 3 timing) are honoured by the AmneziaWG profile
|
||||
(asAmneziaWg, asOutbound = “interface”) only\.
|
||||
File with a WARP WireGuard profile, from ` wgcf register && wgcf generate `\. AmneziaWG
|
||||
fields in it only take effect in the AmneziaWG modes\.
|
||||
|
||||
When null, proxy-suite-warp registers a device with wgcf (accepting Cloudflare’s terms)
|
||||
into /var/lib/proxy-suite/warp, through the local proxy when proxy\.enable is set, and
|
||||
retries until it succeeds\. Until then warp connections fail\.
|
||||
` null `: register a new device with wgcf on first start (accepting Cloudflare’s terms),
|
||||
through the local proxy if enabled\. WARP does not work until that succeeds\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/wgcf-profile.conf"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/wgcf-profile.conf"`
|
||||
|
||||
<a id="services-proxy-suite-warp-endpoint"></a>
|
||||
## services\.proxy-suite\.warp\.endpoint
|
||||
|
||||
host:port that replaces the profile’s Endpoint (IPv6 in brackets), for when the default
|
||||
engage\.cloudflareclient\.com:2408 is blocked: another Cloudflare address, another port WARP
|
||||
answers on (500, 1701, 4500, …), or a relay\. Applied in every mode when the tunnel or
|
||||
AmneziaWG profile starts; the profile file itself is left as is\.
|
||||
host:port (IPv6 in brackets) to use instead of the profile’s endpoint, if the default one
|
||||
is blocked: another Cloudflare address, another WARP port (500, 1701, 4500, …), or a relay\.
|
||||
|
||||
*Type:*
|
||||
null or string matching the pattern (\\\[\[0-9A-Fa-f:\.]+]|\[^]:\[]+):\[0-9]+
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"162.159.192.1:500"
|
||||
```
|
||||
**Type:** null or string matching the pattern (\\\[\[0-9A-Fa-f:\.]+]|\[^]:\[]+):\[0-9]+\
|
||||
**Default:** `null`\
|
||||
**Example:** `"162.159.192.1:500"`
|
||||
|
||||
<a id="services-proxy-suite-warp-generatorurl"></a>
|
||||
## services\.proxy-suite\.warp\.generatorUrl
|
||||
|
||||
HTTPS URL of a WARP profile generator, fetched directly when wgcf registration fails
|
||||
(e\.g\. the Cloudflare API is blocked and there is no local proxy)\. It must return a
|
||||
WireGuard profile, or JSON with the base64 profile in ` .content `\.
|
||||
URL of a WARP profile generator, used if wgcf registration fails (for example, when the
|
||||
Cloudflare API is blocked)\. It must return a WireGuard profile, or JSON with the base64
|
||||
profile in ` .content `\.
|
||||
|
||||
The generator registers the device, so its operator sees the private key\.
|
||||
Its operator sees your private key\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"https://valokda-amnezia.vercel.app/api/warp?mode=awg2"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"https://valokda-amnezia.vercel.app/api/warp?mode=awg2"`
|
||||
+50
-140
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.whitelistBypass
|
||||
|
||||
Tunnels through video-call servers, past mobile internet whitelists.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -22,51 +24,29 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-whitelistbypass-enable"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.enable
|
||||
|
||||
Whether to enable tunnels through the media servers of video calls, which mobile internet whitelists let
|
||||
through ([whitelist-bypass](https://github\.com/kulikov0/whitelist-bypass))\. A creator on a
|
||||
free host serves exactly one joiner on a censored one\.
|
||||
Tunnel through video-call servers, which mobile internet whitelists let through
|
||||
([whitelist-bypass](https://github\.com/kulikov0/whitelist-bypass))\. A creator on a free
|
||||
host serves one joiner on a censored one\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-package"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.package
|
||||
|
||||
whitelist-bypass package with the headless creators and joiners\.
|
||||
whitelist-bypass package\.
|
||||
|
||||
*Type:*
|
||||
package
|
||||
|
||||
*Default:*
|
||||
proxy-suite’s ` whitelist-bypass ` (` pkgs/whitelist-bypass.nix `)
|
||||
**Type:** package\
|
||||
**Default:** proxy-suite’s ` whitelist-bypass ` (` pkgs/whitelist-bypass.nix `)
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-creators"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators
|
||||
|
||||
Creators, one per joiner device\. The link each uses is in its log\.
|
||||
Creators, one per joiner device\. Each logs the call link its joiner needs (also ` proxy-ctl wl link `)\.
|
||||
|
||||
*Type:*
|
||||
attribute set of (submodule)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
{ }
|
||||
```
|
||||
|
||||
*Example:*
|
||||
**Type:** attribute set of (submodule)\
|
||||
**Default:** `{ }`\
|
||||
**Example:**
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -81,112 +61,61 @@ attribute set of (submodule)
|
||||
<a id="services-proxy-suite-whitelistbypass-creators-name-cookiesfile"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators\.\<name>\.cookiesFile
|
||||
|
||||
Runtime path to the platform’s cookies, as the upstream desktop Creator exports them\.
|
||||
Copied into the state directory on first start only: DION and Bitrix rotate their
|
||||
refresh token into that copy, and a stale one would kill the session\.
|
||||
` proxy-ctl wl auth <name> ` replaces that copy at runtime, with a new export or, for
|
||||
DION and Bitrix, an email and password\. Null leaves the creator off until then\.
|
||||
File with the platform’s cookies, as exported by the upstream desktop Creator\. Read on
|
||||
first start only, since the login refreshes itself afterwards\. ` proxy-ctl wl auth <name> ` replaces it at runtime (or asks for email and password on DION and Bitrix)\.
|
||||
` null `: the creator waits for that\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/whitelist-bypass-cookies-wbstream.json"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/whitelist-bypass-cookies-wbstream.json"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-creators-name-linkfile"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators\.\<name>\.linkFile
|
||||
|
||||
Runtime path to the call to rejoin\. Null rejoins the last call written to
|
||||
` <stateDir>/whitelist-bypass/<name>.link `, and creates one on first start: the link
|
||||
stays the same across restarts, so the joiner needs it only once\. ` proxy-ctl wl new <name> ` drops it for a new call, when the platform has closed the old one\.
|
||||
File with a call link to rejoin\. ` null `: create a call once and keep reusing it, so
|
||||
the joiner needs the link only once\. ` proxy-ctl wl new <name> ` starts a new call if the
|
||||
platform closed the old one\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/whitelist-bypass-link"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/whitelist-bypass-link"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-creators-name-platform"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators\.\<name>\.platform
|
||||
|
||||
Call platform\. Every one needs an account: “vk” only serves the upstream Android app,
|
||||
the rest a joiner of this module too\.
|
||||
Call platform\. Each needs an account\. “vk” only serves the upstream Android joiner app\.
|
||||
|
||||
*Type:*
|
||||
one of “wbstream”, “telemost”, “dion”, “bitrix”, “vk”
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"wbstream"
|
||||
```
|
||||
**Type:** one of “wbstream”, “telemost”, “dion”, “bitrix”, “vk”\
|
||||
**Example:** `"wbstream"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-creators-name-resources"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators\.\<name>\.resources
|
||||
|
||||
Buffer sizes and Go memory limit: 64, 128 or 256 MB\.
|
||||
Memory budget: 64, 128 or 256 MB\.
|
||||
|
||||
*Type:*
|
||||
one of “moderate”, “default”, “unlimited”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"moderate"
|
||||
```
|
||||
**Type:** one of “moderate”, “default”, “unlimited”\
|
||||
**Default:** `"moderate"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-creators-name-upstream"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators\.\<name>\.upstream
|
||||
|
||||
Where the joiner’s traffic leaves\.
|
||||
Where the traffic from this creator’s joiner exits\.
|
||||
|
||||
- “direct”: from this host, past TUN and TProxy (it runs as proxy-suite-daemon)\.
|
||||
- “proxy”: through the local proxy listener (proxy\.listener, with its auth), and so
|
||||
its outbounds and routing\.
|
||||
- “direct”: straight from this host, bypassing TUN and TProxy\.
|
||||
- “proxy”: through the local proxy and its routing\.
|
||||
|
||||
*Type:*
|
||||
one of “direct”, “proxy”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"direct"
|
||||
```
|
||||
**Type:** one of “direct”, “proxy”\
|
||||
**Default:** `"direct"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-joiners"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.joiners
|
||||
|
||||
Joiners, each an outbound tagged with its name: a loopback SOCKS5 listener that tunnels
|
||||
through the call\. Needs proxy\.enable\.
|
||||
Joiners, each an outbound tagged with its name that tunnels through the call\. Needs
|
||||
` proxy.enable `\.
|
||||
|
||||
*Type:*
|
||||
attribute set of (submodule)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
{ }
|
||||
```
|
||||
|
||||
*Example:*
|
||||
**Type:** attribute set of (submodule)\
|
||||
**Default:** `{ }`\
|
||||
**Example:**
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -200,36 +129,17 @@ attribute set of (submodule)
|
||||
<a id="services-proxy-suite-whitelistbypass-joiners-name-linkfile"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.joiners\.\<name>\.linkFile
|
||||
|
||||
Runtime path to the call link the creator printed (or wrote to its state directory):
|
||||
a WB Stream room id, a Telemost link, a DION event slug or a Bitrix conference link\.
|
||||
` proxy-ctl wl join <name> <link> ` sets one at runtime, which wins over this\. Null
|
||||
leaves the joiner off until then\.
|
||||
File with the call link from the creator’s log\. ` proxy-ctl wl join <name> <link> ` sets
|
||||
one at runtime and takes priority\. ` null `: the joiner waits for that\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/whitelist-bypass-link"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/whitelist-bypass-link"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-joiners-name-platform"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.joiners\.\<name>\.platform
|
||||
|
||||
Call platform the creator on the other end uses\. VK has no Linux joiner\.
|
||||
Call platform the creator uses\. VK has no joiner here\.
|
||||
|
||||
*Type:*
|
||||
one of “wbstream”, “telemost”, “dion”, “bitrix”
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"wbstream"
|
||||
```
|
||||
**Type:** one of “wbstream”, “telemost”, “dion”, “bitrix”\
|
||||
**Example:** `"wbstream"`
|
||||
+169
-595
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.zapret
|
||||
|
||||
DPI bypass without a proxy: zapret-discord-youtube or zapret2.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -63,248 +65,116 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
Whether to enable zapret DPI bypass\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-zapret-cidrexemption-enable"></a>
|
||||
## services\.proxy-suite\.zapret\.cidrExemption\.enable
|
||||
|
||||
Whether to enable exempting subnets from zapret, e\.g\. NATed VMs whose traffic it would break\.
|
||||
Whether to enable skipping zapret for some subnets, such as NATed VMs it would break\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-zapret-cidrexemption-cidrs"></a>
|
||||
## services\.proxy-suite\.zapret\.cidrExemption\.cidrs
|
||||
|
||||
Exempted subnets\.
|
||||
Subnets zapret skips\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"192.168.123.0/24"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "192.168.123.0/24" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-directsync-enable"></a>
|
||||
## services\.proxy-suite\.zapret\.directSync\.enable
|
||||
|
||||
Add zapret’s domain hostlists to proxy\.routing\.direct\.
|
||||
Send zapret’s domains direct in the proxy routing, so zapret handles them\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-zapret-directsync-upstreamips"></a>
|
||||
## services\.proxy-suite\.zapret\.directSync\.upstreamIps
|
||||
|
||||
Add zapret’s upstream ipsets to proxy\.routing\.direct\.
|
||||
Also send zapret’s upstream IP lists direct\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-zapret-directsync-userips"></a>
|
||||
## services\.proxy-suite\.zapret\.directSync\.userIps
|
||||
|
||||
Add zapret-discord-youtube\.ips, minus zapret-discord-youtube\.excludeIps, to proxy\.routing\.direct\.
|
||||
Also send ` zapret-discord-youtube.ips ` (minus ` excludeIps `) direct\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-zapret-engine"></a>
|
||||
## services\.proxy-suite\.zapret\.engine
|
||||
|
||||
“zapret-discord-youtube”: nfqws with curated presets and static hostlists (zapret\.zapret-discord-youtube)\.
|
||||
“zapret2”: nfqws2, which learns blocked hosts at runtime (zapret\.zapret2)\.
|
||||
Which zapret to run:
|
||||
|
||||
*Type:*
|
||||
one of “zapret-discord-youtube”, “zapret2”
|
||||
- “zapret-discord-youtube”: ready-made presets and fixed site lists\.
|
||||
- “zapret2”: learns blocked sites at runtime\.
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"zapret-discord-youtube"
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"zapret2"
|
||||
```
|
||||
**Type:** one of “zapret-discord-youtube”, “zapret2”\
|
||||
**Default:** `"zapret-discord-youtube"`\
|
||||
**Example:** `"zapret2"`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-configname"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.configName
|
||||
|
||||
Upstream strategy preset\. Names that differ only in whitespace match\.
|
||||
Strategy preset name (spaces are ignored)\.
|
||||
|
||||
*Type:*
|
||||
string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"general(ALT)"
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"general (ALT9)"
|
||||
```
|
||||
**Type:** string\
|
||||
**Default:** `"general(ALT)"`\
|
||||
**Example:** `"general (ALT9)"`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-domains"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.domains
|
||||
|
||||
Extra domains to bypass\.
|
||||
Extra domains to unblock\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"youtube.com"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "youtube.com" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-excludedomains"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.excludeDomains
|
||||
|
||||
Domains never bypassed\.
|
||||
Domains zapret never touches\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"music.youtube.com"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "music.youtube.com" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-excludeips"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.excludeIps
|
||||
|
||||
IPs/CIDRs never bypassed\.
|
||||
IPs or CIDRs zapret never touches\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"203.0.113.10/32"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "203.0.113.10/32" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-gamefilter"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.gameFilter
|
||||
|
||||
Game traffic filter, or “null” for off\.
|
||||
Which game traffic to handle, or “null” for none\.
|
||||
|
||||
*Type:*
|
||||
one of “all”, “tcp”, “udp”, “null”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"null"
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"all"
|
||||
```
|
||||
**Type:** one of “all”, “tcp”, “udp”, “null”\
|
||||
**Default:** `"null"`\
|
||||
**Example:** `"all"`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-hostlistrules"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.hostlistRules
|
||||
|
||||
Extra named hostlists, each with its own strategy: cloned from a preset or configName,
|
||||
or given as nfqwsArgs\.
|
||||
Extra site lists, each with its own strategy: copied from a ` preset ` or ` configName `,
|
||||
or given as raw ` nfqwsArgs `\.
|
||||
|
||||
*Type:*
|
||||
list of (submodule)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
**Type:** list of (submodule)\
|
||||
**Default:** `[ ]`\
|
||||
**Example:**
|
||||
|
||||
```nix
|
||||
[
|
||||
@@ -328,548 +198,265 @@ list of (submodule)
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-hostlistrules-enabledirectsync"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.hostlistRules\.\*\.enableDirectSync
|
||||
|
||||
Include these domains in zapret\.directSync\.
|
||||
Include these domains in ` zapret.directSync `\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-hostlistrules-configname"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.hostlistRules\.\*\.configName
|
||||
|
||||
Config to clone strategies from\. Exclusive with nfqwsArgs\.
|
||||
Config to copy the strategy from\. Cannot be used with ` nfqwsArgs `\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"general(ALT9)"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"general(ALT9)"`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-hostlistrules-defaultdomains"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.hostlistRules\.\*\.defaultDomains
|
||||
|
||||
Upstream lists to include (“discord” = “general”, “youtube” = “google”)\. Without preset,
|
||||
use one per rule so the strategy family can be inferred\.
|
||||
Upstream lists to include (“discord” is “general”, “youtube” is “google”)\. Without
|
||||
` preset `, use only one, so the strategy can be inferred from it\.
|
||||
|
||||
*Type:*
|
||||
list of (one of “general”, “google”, “discord”, “youtube”, “instagram”, “soundcloud”, “twitter”)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"google"
|
||||
]
|
||||
```
|
||||
**Type:** list of (one of “general”, “google”, “discord”, “youtube”, “instagram”, “soundcloud”, “twitter”)\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "google" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-hostlistrules-defaultips"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.hostlistRules\.\*\.defaultIps
|
||||
|
||||
Upstream ipsets to include (“all” is ipset-all\.txt)\.
|
||||
Upstream IP lists to include\.
|
||||
|
||||
*Type:*
|
||||
list of value “all” (singular enum)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"all"
|
||||
]
|
||||
```
|
||||
**Type:** list of value “all” (singular enum)\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "all" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-hostlistrules-domains"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.hostlistRules\.\*\.domains
|
||||
|
||||
Domains in this hostlist\.
|
||||
Domains in this list\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"example.com"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "example.com" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-hostlistrules-ips"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.hostlistRules\.\*\.ips
|
||||
|
||||
IPs/CIDRs in this rule’s ipset\.
|
||||
IPs or CIDRs in this list\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"203.0.113.0/24"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "203.0.113.0/24" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-hostlistrules-name"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.hostlistRules\.\*\.name
|
||||
|
||||
Hostlist name (hostlists/list-\<name>\.txt)\.
|
||||
List name\.
|
||||
|
||||
*Type:*
|
||||
string matching the pattern ^\[a-z0-9]\[a-z0-9-]\*$
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"cloudflare"
|
||||
```
|
||||
**Type:** string matching the pattern ^\[a-z0-9]\[a-z0-9-]\*$\
|
||||
**Example:** `"cloudflare"`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-hostlistrules-nfqwsargs"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.hostlistRules\.\*\.nfqwsArgs
|
||||
|
||||
Raw NFQWS arguments; --hostlist and --new are added\. Exclusive with configName\.
|
||||
Raw nfqws arguments; ` --hostlist ` and ` --new ` are added\. Cannot be used with ` configName `\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"--filter-tcp=443 --dpi-desync=fake,multisplit"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "--filter-tcp=443 --dpi-desync=fake,multisplit" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-hostlistrules-preset"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.hostlistRules\.\*\.preset
|
||||
|
||||
Strategy family to clone, from configName or the active config\.
|
||||
Strategy to copy, from ` configName ` or the active config\.
|
||||
|
||||
*Type:*
|
||||
null or one of “general”, “google”, “instagram”, “soundcloud”, “twitter”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"google"
|
||||
```
|
||||
**Type:** null or one of “general”, “google”, “instagram”, “soundcloud”, “twitter”\
|
||||
**Default:** `null`\
|
||||
**Example:** `"google"`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-includeextraupstreamlists"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.includeExtraUpstreamLists
|
||||
|
||||
Also use the upstream instagram, soundcloud and twitter lists\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret-discord-youtube-ips"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret-discord-youtube\.ips
|
||||
|
||||
Extra IPs/CIDRs to bypass\.
|
||||
Extra IPs or CIDRs to unblock\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"203.0.113.0/24"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "203.0.113.0/24" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-autohostlist-enable"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.autoHostlist\.enable
|
||||
|
||||
Learn blocked hosts: after failThreshold failures (retransmissions, early RST, DPI
|
||||
redirect, one-sided UDP) a host joins /var/lib/proxy-suite/zapret2/zapret-hosts-auto\.txt\.
|
||||
Off, only zapret2\.domains and ` proxy-ctl zapret auto add ` are acted on\.
|
||||
The thresholds below also fill whichever of them a profile’s strategy rotation
|
||||
(circular) leaves unset; its own fails and time are kept\.
|
||||
Learn blocked sites: after ` failThreshold ` failed connections, a site is treated as
|
||||
blocked\. When off, only ` zapret2.domains ` and ` proxy-ctl zapret auto add ` are used\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-autohostlist-debuglog"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.autoHostlist\.debugLog
|
||||
|
||||
Log why hosts are or are not learned to zapret-hosts-auto-debug\.log\.
|
||||
Log why sites are or are not learned\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-autohostlist-failthreshold"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.autoHostlist\.failThreshold
|
||||
|
||||
Failures before a host is learned\.
|
||||
Failures before a site is learned\.
|
||||
|
||||
*Type:*
|
||||
positive integer, meaning >0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
3
|
||||
```
|
||||
**Type:** positive integer, meaning >0\
|
||||
**Default:** `3`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-autohostlist-failtime"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.autoHostlist\.failTime
|
||||
|
||||
Seconds allowed between two failures before the count resets\.
|
||||
Seconds without a failure before the count resets\.
|
||||
|
||||
*Type:*
|
||||
positive integer, meaning >0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
300
|
||||
```
|
||||
**Type:** positive integer, meaning >0\
|
||||
**Default:** `300`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-autohostlist-incomingmaxseq"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.autoHostlist\.incomingMaxseq
|
||||
|
||||
Incoming sequence number past which an RST or redirect is not a failure\.
|
||||
After this many bytes received, a reset or redirect is not a failure\.
|
||||
|
||||
*Type:*
|
||||
positive integer, meaning >0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
4096
|
||||
```
|
||||
**Type:** positive integer, meaning >0\
|
||||
**Default:** `4096`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-autohostlist-retransmaxseq"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.autoHostlist\.retransMaxseq
|
||||
|
||||
Outgoing sequence number past which failure detection stops\.
|
||||
Stop watching a connection for failures after this many bytes sent\.
|
||||
|
||||
*Type:*
|
||||
positive integer, meaning >0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
32768
|
||||
```
|
||||
**Type:** positive integer, meaning >0\
|
||||
**Default:** `32768`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-autohostlist-retransreset"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.autoHostlist\.retransReset
|
||||
|
||||
RST a stalled client once retransThreshold is hit, so failures are counted fast\.
|
||||
Reset a stalled connection at ` retransThreshold `, so failures are counted faster\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-autohostlist-retransthreshold"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.autoHostlist\.retransThreshold
|
||||
|
||||
Retransmissions of the first request that count as one failure\.
|
||||
Retransmissions of the first request that count as a failure\.
|
||||
|
||||
*Type:*
|
||||
positive integer, meaning >0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
3
|
||||
```
|
||||
**Type:** positive integer, meaning >0\
|
||||
**Default:** `3`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-autohostlist-udpin"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.autoHostlist\.udpIn
|
||||
|
||||
Incoming UDP packets at or below which an exchange is one-sided\.
|
||||
Most UDP replies that still count as no answer (see ` udpOut `)\.
|
||||
|
||||
*Type:*
|
||||
positive integer, meaning >0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
1
|
||||
```
|
||||
**Type:** positive integer, meaning >0\
|
||||
**Default:** `1`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-autohostlist-udpout"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.autoHostlist\.udpOut
|
||||
|
||||
Outgoing UDP packets before a one-sided exchange counts as a failure\.
|
||||
UDP packets sent, with at most ` udpIn ` replies, that count as a failure\.
|
||||
|
||||
*Type:*
|
||||
positive integer, meaning >0
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
4
|
||||
```
|
||||
**Type:** positive integer, meaning >0\
|
||||
**Default:** `4`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-blobs"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.blobs
|
||||
|
||||
Fake payloads by name (blob=\<name>) on top of those of strategySource: a file in zapret2’s files/fake, or an absolute path\.
|
||||
Extra fake payloads by name (blob=\<name>): a file in zapret2’s files/fake, or an absolute path\.
|
||||
|
||||
*Type:*
|
||||
attribute set of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
{ }
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
{
|
||||
tls_clienthello = "/etc/proxy-suite/my_clienthello.bin";
|
||||
}
|
||||
```
|
||||
**Type:** attribute set of string\
|
||||
**Default:** `{ }`\
|
||||
**Example:** `{ tls_clienthello = "/etc/proxy-suite/my_clienthello.bin"; }`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-cutoff-enable"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.cutoff\.enable
|
||||
|
||||
Some lines let TLS to certain hosting networks handshake and then cut it at 12-34 KB,
|
||||
which no strategy fixes\. z2k’s probe checks this line against ~110 known targets when
|
||||
its network changes and once a day, and for each cut-off network searches a whitelisted
|
||||
name that nfqws2 then puts into a fake ClientHello (strategySource “z2k” only; ahead of
|
||||
the nfqws2-keenetic strategies it breaks them): thousands of short TLS connections to
|
||||
foreign hosting IPs per full run, sent directly and never touched by zapret2\. State and
|
||||
maps live in /var/lib/proxy-suite/zapret2/cutoff; ` proxy-ctl zapret cutoff ` shows them\.
|
||||
Work around ISPs that cut TLS to some hosting networks after about 16 KB, which no
|
||||
strategy fixes\. A daily probe finds the affected networks and a whitelisted name that
|
||||
gets through for each\. Only with ` strategySource = "z2k" `\. Each run makes thousands of
|
||||
short direct connections\. ` proxy-ctl zapret cutoff ` shows the results\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-cutoff-proxyfallback"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.cutoff\.proxyFallback
|
||||
|
||||
Route the cut-off networks no name fixes through the proxy outbound\. Needs the sing-box
|
||||
backend with an outbound and a route mode other than all-bypass, and only applies to
|
||||
traffic the backend sees by address (TUN, TProxy, per-app routing, clients that dial IPs);
|
||||
explicit direct rules still win\.
|
||||
Send cut-off networks that no name fixes through the proxy\. Needs the sing-box backend,
|
||||
an outbound, and a route mode other than all-bypass\. Only works for traffic the proxy
|
||||
sees by IP (TUN, TProxy, per-app routing)\. Explicit direct rules still win\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-domains"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.domains
|
||||
|
||||
Domains always treated as blocked\. At runtime: ` proxy-ctl zapret auto add `\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"rutracker.org"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "rutracker.org" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-excludedomains"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.excludeDomains
|
||||
|
||||
Domains never touched or learned\. At runtime: ` proxy-ctl zapret auto exclude `\.
|
||||
|
||||
*Type:*
|
||||
list of string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
[ ]
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
[
|
||||
"bank.example.com"
|
||||
]
|
||||
```
|
||||
**Type:** list of string\
|
||||
**Default:** `[ ]`\
|
||||
**Example:** `[ "bank.example.com" ]`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-ipv6"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.ipv6
|
||||
|
||||
Intercept IPv6 as well as IPv4\.
|
||||
Handle IPv6 too\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-ports-tcp"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.ports\.tcp
|
||||
|
||||
TCP ports sent to NFQUEUE\. Must cover every port a profile filters on\. null uses the ports of strategySource\.
|
||||
TCP ports zapret2 handles\. Must include every port a profile uses\. ` null `: use the ports from ` strategySource `\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"80,443"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"80,443"`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-ports-udp"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.ports\.udp
|
||||
|
||||
UDP ports sent to NFQUEUE\. Must cover every port a profile filters on\. null uses the ports of strategySource\.
|
||||
UDP ports zapret2 handles\. Must include every port a profile uses\. ` null `: use the ports from ` strategySource `\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"443"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"443"`
|
||||
|
||||
<a id="services-proxy-suite-zapret-zapret2-profiles"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.profiles
|
||||
|
||||
nfqws2 profiles replacing those of strategySource, joined with --new; first match wins\.
|
||||
\<HOSTLIST> expands to the hostlist arguments, \<HOSTLIST_NOAUTO> to the same without
|
||||
learning\. --qnum, --fwmark and --lua-init are added automatically\. null uses the profiles of strategySource\.
|
||||
Your own nfqws2 profiles, instead of those from ` strategySource `\. The first match wins\.
|
||||
` <HOSTLIST> ` expands to the site list arguments, ` <HOSTLIST_NOAUTO> ` to the same without
|
||||
learning\. ` --qnum `, ` --fwmark ` and ` --lua-init ` are added for you\. ` null `: use the profiles from ` strategySource `\.
|
||||
|
||||
*Type:*
|
||||
null or (list of string)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
**Type:** null or (list of string)\
|
||||
**Default:** `null`\
|
||||
**Example:**
|
||||
|
||||
```nix
|
||||
[
|
||||
@@ -880,26 +467,13 @@ null
|
||||
<a id="services-proxy-suite-zapret-zapret2-strategysource"></a>
|
||||
## services\.proxy-suite\.zapret\.zapret2\.strategySource
|
||||
|
||||
Where profiles, blobs and ports come from; both are pinned flake inputs\.
|
||||
“nfqws2-keenetic”: its nfqws2\.conf strategies with its user and exclude lists\.
|
||||
“z2k”: z2k’s own config generator, run at build time: per-category rotation pools
|
||||
(general, YouTube, googlevideo, QUIC, Discord), its failure detectors and fake-TTL
|
||||
hook, its blobs, whitelist and hostlists, including the ~125k-domain RKN list
|
||||
(about 15 MB more RSS per nfqws2 process)\.
|
||||
Either way each host’s working strategy is remembered across restarts in
|
||||
/var/lib/proxy-suite/zapret2/circular/state\.tsv\.
|
||||
Where the strategies, blobs and ports come from\.
|
||||
|
||||
*Type:*
|
||||
one of “nfqws2-keenetic”, “z2k”
|
||||
- “nfqws2-keenetic”: its strategies and site lists\.
|
||||
- “z2k”: z2k’s strategies, which rotate per category (YouTube, Discord, QUIC, …), with
|
||||
its site lists, including the full RKN list (more memory)\.
|
||||
Either way, each site’s working strategy is remembered across restarts\.
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"nfqws2-keenetic"
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"z2k"
|
||||
```
|
||||
**Type:** one of “nfqws2-keenetic”, “z2k”\
|
||||
**Default:** `"nfqws2-keenetic"`\
|
||||
**Example:** `"z2k"`
|
||||
Reference in new issue
Block a user