Add android package rules support in tun routing
This commit is contained in:
@@ -28,10 +28,6 @@
|
||||
99999
|
||||
]
|
||||
],
|
||||
"include_android_user": [
|
||||
0,
|
||||
10
|
||||
],
|
||||
"exclude_uid": [
|
||||
1000
|
||||
],
|
||||
@@ -39,6 +35,16 @@
|
||||
1000,
|
||||
99999
|
||||
],
|
||||
"include_android_user": [
|
||||
0,
|
||||
10
|
||||
],
|
||||
"include_package": [
|
||||
"com.android.chrome"
|
||||
],
|
||||
"exclude_package": [
|
||||
"com.android.captiveportallogin"
|
||||
],
|
||||
|
||||
"sniff": true,
|
||||
"sniff_override_destination": false,
|
||||
@@ -111,7 +117,7 @@ TCP/IP stack.
|
||||
|
||||
!!! error ""
|
||||
|
||||
UID and android user rules are only supported on Linux and require auto_route.
|
||||
UID rules are only supported on Linux and require auto_route.
|
||||
|
||||
Limit users in route. Not limited by default.
|
||||
|
||||
@@ -119,19 +125,6 @@ Limit users in route. Not limited by default.
|
||||
|
||||
Limit users in route, but in range.
|
||||
|
||||
#### include_android_user
|
||||
|
||||
!!! warning ""
|
||||
|
||||
Only supported on Android
|
||||
|
||||
Limit android users in route.
|
||||
|
||||
| Common user | ID |
|
||||
|--------------|-----|
|
||||
| Main | 0 |
|
||||
| Work Profile | 10 |
|
||||
|
||||
#### exclude_uid
|
||||
|
||||
Exclude users in route.
|
||||
@@ -140,6 +133,27 @@ Exclude users in route.
|
||||
|
||||
Exclude users in route, but in range.
|
||||
|
||||
#### include_android_user
|
||||
|
||||
!!! error ""
|
||||
|
||||
Android user and package rules are only supported on Android and require auto_route.
|
||||
|
||||
Limit android users in route.
|
||||
|
||||
| Common user | ID |
|
||||
|--------------|-----|
|
||||
| Main | 0 |
|
||||
| Work Profile | 10 |
|
||||
|
||||
#### include_package
|
||||
|
||||
Limit android packages in route.
|
||||
|
||||
#### exclude_package
|
||||
|
||||
Exclude android packages in route.
|
||||
|
||||
### Listen Fields
|
||||
|
||||
#### sniff
|
||||
|
||||
Reference in New Issue
Block a user