Skip to content
HystericalDragon edited this page Sep 17, 2024 · 3 revisions

Overview

  • One line corresponds to one rule.

  • Uses V2Ray style grammar. But what different from it is that here use + to append tags.

    Now supported flags:

    1. tag: Support Domain and IP settings. If it be enabled, this rule will JUST sets for DNS.

Example:

set+dns:geosite:microsoft
domain:cloudflare.com

Domain

  • When starts with set:, correspond to sing-box rule rule-set.

  • When starts with full:, correspond to sing-box rule domain.

  • When starts with domain:, correspond to sing-box rule domain_suffix.

  • When starts with regexp:, correspnd to sing-box rule domain_regexp.

  • Others correspend to sing-box rule domain_keyword.

IP

If value is private, ip_is_private will be enabled.

Besides, all correspend to sing-box rule ip_cidr.

Source IP

When value is private, enable source_ip_is_private

Other case plus rule to source_ip_cidr

Clone this wiki locally