What is the rule
Why proxy software needs to set rules
- For example, users in Mainland China who directly connect to
www.baidu.comwill succeed, but will fail if they directly connect towww.google.com, but after setting the rules, using proxy nodes to accesswww.google.comwill succeed
Rule composition
- Such as:
DOMAIN-SUFFIX,twimg.com,PROXY
Match type
| Match name | match type | description |
|---|---|---|
| Based on domain name suffix | DOMAIN-SUFFIX | None |
| Complete match based on domain name | DOMAIN | None |
| Based on domain name keywords | DOMAIN-KEYWORD | None |
| Matching based on the user agent string | USER-AGENT | according to the user-agent value of Http, supports wildcard matching with *,? |
| Based on URL Regular | URL-REGEX | None |
| Based on the request IP range | IP-CIDR | is usually used for LAN matching |
| Based on IP as the country code | GEOIP | CN中国 |
| Bottom matching | FINAL | If there is no matching rule, the default matching is used |
GeoiP
The IP-based location information comes from GeoLite2 Country. The GeoLiteZ database is an IP-based geographic location information database created by MaxMind. Available from www.maxmind.com.
Examples demonstrate the role of understanding rules

It means that the user initiates an access request to www.google.com, and the matching type is DOMAIN-KEYWORD domain name keyword matching, the matching content is google, and the policy named Proxy is used. The lowest proxy node is [tunnel]香港01#GZCM
Say a few more words
- Bottom matching, FINAL rule, please click here to jump to the
Final ruletutorial
