AirLane

Rules

v1.0+⏱ 1 min readUpdated

Rulesets (GEOSITE/GEOIP/remote/custom), match priority, hit analytics and match simulation.

Rules tell classifiers which bucket a connection belongs to. AirLane rules come as rulesets: GEOSITE / GEOIP databases, remote rule subscriptions, and your own custom rules.

RulesetsRuleset list: GEOSITE, GEOIP, remote and built-in sets

Rulesets: GEOSITE, GEOIP, remote subscriptions, built-ins (UI in Chinese)

Ruleset types#

TypeContentsUpdates
GEOSITEDomain-category database (geosite:category-ads-all…)Periodic
GEOIPIP-to-region databasePeriodic
RemoteThird-party rule lists you subscribe toAutomatic
CustomYour own domain/process/IP rulesManual

Built-in categories (AI services, streaming, ad/tracking…) ship with curated rulesets out of the box.

Match priority#

  • Rules match top to bottom; first hit wins.
  • Custom rules take precedence over database rules — pin a domain to a lane by adding one line.
  • Traffic matching nothing falls through to the final policy.
Order matters
Putting "ad blocking" after "streaming" may let ad domains out as streaming first. Reorder, then verify with the match simulator.

Match simulation#

Match simulationMatch simulator: enter a domain, see the matched rule and behavior

Type a domain, get the classifier, rule and behavior it hits

"Which lane does this site take?" — don't guess. The simulator returns the matched classifier, rule and behavior. Essential for rule debugging.

Hit analytics#

Hit analyticsHit analytics: per-rule hit counts

How many times each rule actually fired

Real hit counts per rule. Rules stuck at zero can be cleaned up; misfiring rules stand out immediately.

Was this doc helpful?
Still stuck? Ask on GitHub