Skip to content

Commit

Permalink
chore: update example configuration
Browse files Browse the repository at this point in the history
Signed-off-by: black-desk <[email protected]>
  • Loading branch information
black-desk committed Oct 23, 2023
1 parent 32698d1 commit ccfb8e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions misc/config/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ route-table: 300
# without influenced by the tproxy configuration.
bypass:
- 127.0.0.0/8
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- ::1

tproxies:
Expand Down Expand Up @@ -65,6 +68,8 @@ rules:
direct: true
- match: \/user\.slice\/user-\d+\.slice/user@\d+\.service\/cgtproxy\.slice\/cgtproxy-drop\.slice\/.*
drop: true
- match: \/user\.slice\/user-\d+\.slice/user@\d+\.service\/cgtproxy\.slice\/cgtproxy-proxy\.slice\/.*
tproxy: clash-meta

# For any cgroup else, TPROXY to clash-meta.
- match: \/.*
Expand Down

0 comments on commit ccfb8e4

Please sign in to comment.