Fallback
A group of proxies with a test URL, similar to the Auto Select group.
Unlike the Auto Select group, the selection change takes effect immediately as long as any proxy test succeeds.
Therefore, proxy order is critical in a fallback group; you should place better proxies first.
Fallback group selection cannot be changed manually.
Example
Profile Example
[Proxy Group]
FallbackGroup = fallback, ProxySOCKS5, ProxySOCKS5TLS, url=http://www.gstatic.com/generate_204, interval=600, timeout=5
[Rule]
# Traffic matching 'www.google.com' will be redirected through FallbackGroup's selected proxy
DOMAIN, www.google.com, FallbackGroup
Policy Path Example
ProxyHTTP = http, 1.2.3.4, 443, username, password
ProxyHTTPS = https, 1.2.3.4, 443, username, password, skip-cert-verify=true, sni=www.google.com
ProxySOCKS5 = socks5, 1.2.3.4, 443, username, password, udp-relay=false
This is similar to the [Proxy] section definition but without the section header.
Using a policy path separates proxies and rules definitions, reducing profile complexity.
Format
{group name} = fallback, {proxies, ...}, {policy-path}, {policy-regex-filter}, {url}, {interval}, {timeout}, hidden = {hidden}, include-all-proxies = {include-all-proxies}, include-other-group = "{include-other-group}"
Parameters
| Name | Value | Mandatory | Note |
|---|---|---|---|
| group name | - | true | Name of the group; serves as the key. |
| proxies | - | true | A list of proxy names defined in the [Proxy] section, separated by commas. |
| policy-path | - | false | A URL pointing to a list of proxies. Content format is described above. |
| policy-regex-filter | - | false | Applicable if policy-path/include-all-proxies/include-other-group is defined. A regular expression applied to proxy names; only proxies matching the expression are included. Note: This is a full-match regular expression. |
| url | http scheme url | false | Test URL used for the HTTP HEAD request. If the URL is not defined, 'proxy-test-url' from the [General] section is used.If 'proxy-test-url' is also undefined, 'http://www.gstatic.com/generate_204' is used. |
| interval | - | false | Unit: seconds. Defines the test interval. Default value: 600. |
| timeout | - | false | Unit: seconds. Tests exceeding this duration are treated as failures. Default value: 5. |
| hidden | true false | false | Whether to display this proxy group in the user interface. Even if set to false, the group still takes effect. |
| include-all-proxies | true false | false | Includes all proxies defined in the profile. Can be used with policy-regex-filter to filter specific proxies. |
| include-other-group | - | false | Includes proxies from other groups specified by name. Can be used with policy-regex-filter. Multiple group names can be separated by commas. |
Only HTTP scheme URLs are allowed as test URLs. HTTPS and other schemes are not supported.
proxies, policy-path, include-all-proxies, and include-other-group can be used together in the same proxy group.
You can use a profile URL as a policy path URL; only proxies defined in the [Proxy] section will be used.