From e2ecb80c264fa253122bc0f2fd004ce725a3b72e Mon Sep 17 00:00:00 2001 From: mzz2017 <2017@duck.com> Date: Sun, 5 Feb 2023 13:31:21 +0800 Subject: [PATCH] docs: update example.dae --- example.dae | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/example.dae b/example.dae index 8fd59a0..22a3704 100644 --- a/example.dae +++ b/example.dae @@ -34,6 +34,7 @@ node { 'ss://LINK' } +# Node group (outbound). group { my_group { # Filter nodes from global node pool defined by subscription and node section above. @@ -60,8 +61,10 @@ group { } } +# See routing.md for full examples. routing { - # See routing.md for full examples. + ip(geoip:private, 240.0.0.0/4, 'ff00::/8') -> direct # Put me at the first place. Or you know what you're doing. + # Write your rules below. # dae arms DNS rush-answer filter so we can use 8.8.8.8 regardless of DNS pollution. ip(8.8.8.8) && port(53) -> direct @@ -69,7 +72,6 @@ routing { pname(firefox) && domain(ip.sb) -> direct pname(curl) && domain(ip.sb) -> my_group - ip(geoip:private) -> direct ip(geoip:cn) -> direct domain(geosite:cn) -> direct final: my_group