Add [include/exclude]_interface iproute2 options
This commit is contained in:
parent
10d98f2679
commit
824b903ebd
2 changed files with 106 additions and 0 deletions
2
tun.go
2
tun.go
|
|
@ -41,6 +41,8 @@ type Options struct {
|
|||
StrictRoute bool
|
||||
Inet4RouteAddress []netip.Prefix
|
||||
Inet6RouteAddress []netip.Prefix
|
||||
IncludeInterface []string
|
||||
ExcludeInterface []string
|
||||
IncludeUID []ranges.Range[uint32]
|
||||
ExcludeUID []ranges.Range[uint32]
|
||||
IncludeAndroidUser []int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue