proxy-groups:
- name: "proxy"
type: select
proxies:
- DIRECT
- ss
use:
- provider1
- provider1
url: 'https://www.gstatic.com/generate_204'
interval: 300
lazy: true
timeout: 5000
max-failed-times: 5
disable-udp: true
interface-name: en0
routing-mark: 11451
include-all: false
include-all-proxies: false
include-all-providers: false
filter: "(?i)港|hk|hongkong|hong kong"
exclude-filter: "美|日"
exclude-type: "Shadowsocks|Http"
expected-status: 204
hidden: true
icon: xxxRequired, the name of the proxy group.
!!! note If there are special characters, they should be enclosed in quotes.
Required, the type of the proxy group.
References to outbound proxies or other proxy groups.
References to proxy sets.
Health check test address.
!!! note It will only check the proxies field of the proxy group, and will not check the proxies of the proxy providers introduced through use.
Health check interval; if not 0, periodic testing is enabled, measured in seconds. (If the proxy-group type is select, this setting has no effect and automatic health checks will not be enabled.)
Lazy state, defaults to true. If the current proxy group is not selected, no testing is performed.
Health check timeout, measured in milliseconds.
Maximum number of failures; exceeding this triggers a forced health check, default is 5.
Disables UDP for this proxy group.
!!! warning The interface-name in the proxy group is deprecated, please use the interface-name in the proxy node.
Specifies the outbound interface for the proxy group.
!!! info "" Priority: Proxy Node > Proxy Policy > Global.
!!! warning The routing-mark in the proxy group is deprecated, please use the routing-mark in the proxy node.
The routing mark attached when the proxy group is outbound.
!!! info "" Priority: Proxy Node > Proxy Policy > Global.
Includes all outbound proxies and proxy sets, sorted by name.
!!! info "" Inclusion does not include proxy groups; other proxy groups can be included in proxies.
Includes all outbound proxies, sorted by name.
!!! info ""
Inclusion does not include proxy groups; other proxy groups can be included in proxies.
Includes all proxy sets, sorted by name.
!!! info "" This will invalidate including proxy sets.
Filters nodes that meet keywords or regular expressions. You can use ` to separate multiple regular expressions.
!!! info "" This only applies to included proxy sets and including all outbound proxies.
Excludes nodes that meet keywords or regular expressions. You can use ` to separate multiple regular expressions.
Regular expressions are not supported. Split by |, exclude based on node type, only excluding ingress outbound proxies
For supported types, please refer to Adapter Type, ignore case sensitivity
The expected HTTP response status code during health checks. If this field is configured, a node is considered available only when the response status code matches the expected status. The default is *, indicating no requirements on the response status.
You can use / to match multiple status codes, - to match a range of statuses, and mix them.
Match status codes 200 and 302.
expected-status: 200/302Match status codes from 400 to 503.
expected-status: 400-503Match status codes 200 and 302, as well as from 400 to 503.
expected-status: 200/302/400-503hidden
Returns hidden status in the API to hide the display of this proxy group (requires front-end adaptation using the API).
Returns the string input for icon in the API to display in this proxy group (requires front-end adaptation using the API).