General Fields
proxy-groups:- name: "proxy" type: select proxies: - DIRECT - ss use: - provider1 - provider1
url: 'https://www.gstatic.com/generate_204' interval: 300 lazy: true default-selected: ss empty-fallback: COMPATIBLE 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.
Required, the type of the proxy group.
proxies
Section titled “proxies”References to outbound proxies or other proxy groups.
References to proxy sets.
Health check test address.
ping-config 👻
Section titled “ping-config 👻”A second check after url for url-test, fallback, load-balance and smart: a node counts as alive only when it really downloads data, and checks run at random moments. See ping-config.
interval
Section titled “interval”Health check interval; if not 0, periodic testing is enabled, measured in seconds.
Lazy state, defaults to true. If the current proxy group is not selected, no testing is performed.
default-selected
Section titled “default-selected”The node selected by default. If this field is empty or the node name does not exist, the first node in the group is selected.
empty-fallback
Section titled “empty-fallback”The fallback proxy when the group is empty. The default value is COMPATIBLE.
timeout
Section titled “timeout”Health check timeout, measured in milliseconds.
max-failed-times
Section titled “max-failed-times”Maximum number of failures; exceeding this triggers a forced health check, default is 5.
disable-udp
Section titled “disable-udp”Disables UDP for this proxy group.
interface-name
Section titled “interface-name”routing-mark
Section titled “routing-mark”smart 👻
Section titled “smart 👻”Prizrak-Core adds the smart group type: weight-based node selection with optional LightGBM prediction. See Smart.
include-all
Section titled “include-all”Includes all outbound proxies and proxy sets, sorted by name.
include-all-proxies
Section titled “include-all-proxies”Includes all outbound proxies, sorted by name.
include-all-providers
Section titled “include-all-providers”Includes all proxy sets, sorted by name.
filter
Section titled “filter”Filters nodes that match keywords or regular expressions. Use ` to separate multiple regular expressions.
exclude-filter
Section titled “exclude-filter”Excludes nodes that match keywords or regular expressions. Use ` to separate multiple regular expressions.
exclude-type
Section titled “exclude-type”Regular expressions are not supported. Split by | and exclude by node type. This applies only to included outbound proxies.
For supported types, please refer to Adapter Type, ignore case sensitivity
expected-status
Section titled “expected-status”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.
syntax
Section titled “syntax”You can use / to match multiple status codes, - to match a range of statuses, and mix them.
example
Section titled “example”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
Section titled “hidden”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).