mirror of
https://github.com/daeuniverse/dae.git
synced 2025-03-04 22:50:56 +07:00
docs: update example.dae
This commit is contained in:
parent
fb3f25c344
commit
e2ecb80c26
@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
routing {
|
||||
# See routing.md for full examples.
|
||||
routing {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user