Skip to main content

Load balance

A group of proxies, selection will be randomly chosen.

note

Load balance group selection can not be changed manually

Sample

Profile sample

[Proxy Group]
LoadBalanceGroup = load-balance, ProxyHTTP, ProxyHTTPS

[Rule]
# traffic match 'www.google.com' will be redirect through AutoTestGroup's selected proxy
DOMAIN, www.google.com, LoadBalanceGroup

Policy path sample

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

Just like [Proxy] Section definition but without section header in it

Use policy path can separate proxies and rules definition, and reduce profile complexity.

Format

{group name} = load-balance, {proxies, ...}, {policy-path}, {policy-regex-filter}, hidden = {hidden}, include-all-proxies = {include-all-proxies}, include-other-group = "{include-other-group}"

Param

NameValueMandatoryNote
group name-truename of group, will be used like a key to the group
proxies-trueA list of proxy name defined in [Proxy] section, divided by comma
policy-path-falseA list of proxy defined in url content. Content format will be presented below:

ProxyHTTP1 = http, 1.2.3.4, 443, username, password
ProxyHTTP2 = http, 1.2.3.4, 443, username, password
policy-regex-filter-falseUsable if policy-path/include-all-proxies/include-other-group defined.
A regular expression which will apply on proxy name, only proxies which match expression will be reserved. Be aware this is a complete matching regular expression.
hiddentrue
false
falseWhether to display this proxy group in user interface, even set to false, this group will still take effect.
include-all-proxiestrue
false
falseInclude all proxies defined in whole profile, can be used with policy-regex-filter to filter some of the proxies
include-other-group-falseInclude proxies from other group specified by name, can by used with policy-regex-filter to filter some of the proxies, group name can be more than one and split by comma
tip

proxies, policy-path, include-all-proxies and include-other-group can be used together in the same proxy group

tip

You can use a profile url as policy path url, only proxies defined in [Proxy] section will be used