rule_sources.yaml
Change addresses, credentials, certificate paths, and other deployment-specific values before use. This is a complete source file, not a guarantee it can run unchanged on your machine. Read its comments for prerequisites, then run shoes check with the adapted file.
- rule_source_group: imported rules: - ../tests/fixtures/rule_sets/singbox-v2.srs - path: ../tests/fixtures/rule_sets/mihomo-domain.txt behavior: domain
- rule_group: standard rules: - masks: {rule_source_group: imported} action: block - masks: ["192.168.0.0/16", "internal.example"] action: allow
- address: "0.0.0.0:1080" protocol: {type: socks} rules: - standard - masks: all: - path: ../tests/fixtures/rule_sets/mihomo-ip.mrs - destination_port: [443] action: block - masks: "0.0.0.0/0" action: allow