modules/network: add missing rules in dae
This commit is contained in:
parent
449db19ca1
commit
64aa4d8bf8
1 changed files with 24 additions and 0 deletions
|
@ -133,6 +133,26 @@ in
|
|||
filter: name(regex: '^(fra)[0-9]+') [add_latency: -150ms]
|
||||
policy: min_moving_avg
|
||||
}
|
||||
asia_group {
|
||||
filter: name(regex: '^.*(hk).*')
|
||||
filter: name(regex: '^.*(la).*') [add_latency: 5000ms]
|
||||
filter: name(regex: '^.*(fra).*') [add_latency: 5000ms]
|
||||
policy: min_moving_avg
|
||||
}
|
||||
|
||||
europe_group {
|
||||
filter: name(regex: '^.*(fra).*')
|
||||
filter: name(regex: '^.*(la).*') [add_latency: 5000ms]
|
||||
filter: name(regex: '^.*(hk).*') [add_latency: 5000ms]
|
||||
policy: min_moving_avg
|
||||
}
|
||||
|
||||
america_group {
|
||||
filter: name(regex: '^.*(la).*')
|
||||
filter: name(regex: '^.*(hk).*') [add_latency: 5000ms]
|
||||
filter: name(regex: '^.*(fra).*') [add_latency: 5000ms]
|
||||
policy: min_moving_avg
|
||||
}
|
||||
}
|
||||
|
||||
# See https://github.com/daeuniverse/dae/blob/main/docs/en/configuration/routing.md for full examples.
|
||||
|
@ -143,6 +163,7 @@ in
|
|||
|
||||
pname(blackbox_exporter) -> direct
|
||||
pname(tailscaled) -> direct
|
||||
dscp(0x8) -> direct
|
||||
|
||||
dip(224.0.0.0/3, 'ff00::/8') -> direct
|
||||
dip(geoip:private) -> direct
|
||||
|
@ -161,6 +182,9 @@ in
|
|||
domain(suffix:ipify.org) -> direct
|
||||
domain(geosite:steam@cn) -> direct
|
||||
|
||||
domain(suffix:uk, suffix:it, suffix:de, suffix:eu, suffix:se, suffix:nl) -> europe_group
|
||||
domain(suffix:jp, suffix:sg, suffix:hk, suffix:kr) -> asia_group
|
||||
|
||||
dip(geoip:cn) -> direct
|
||||
|
||||
fallback: default_group
|
||||
|
|
Loading…
Add table
Reference in a new issue