Docs Config Automatic Selection (url-test)

Automatic Selection (url-test)

Periodically tests connectivity/latency for every node in the group and automatically picks the one with the lowest latency, skipping unhealthy nodes. The most common type of "automatic selection" group.

Example Config

config.yaml YAML
proxy-groups:
  - name: "auto"
    type: url-test
    proxies:
      - ss
      - vmess
    url: 'https://www.gstatic.com/generate_204'
    interval: 300
    # tolerance: 50
    # lazy: true

tolerance

The node-switching tolerance, in milliseconds. The group only switches to a new node if its latency is lower than the current node's by more than this margin — this prevents rapid back-and-forth switching when latencies are hovering close together.

See common fields for the rest.