Add strict_route option

This commit is contained in:
世界
2022-08-26 21:53:08 +08:00
parent a0d35cf3dc
commit bfcf1017f0
4 changed files with 8 additions and 6 deletions

View File

@@ -6,6 +6,7 @@ type TunInboundOptions struct {
Inet4Address *ListenPrefix `json:"inet4_address,omitempty"`
Inet6Address *ListenPrefix `json:"inet6_address,omitempty"`
AutoRoute bool `json:"auto_route,omitempty"`
StrictRoute bool `json:"strict_route,omitempty"`
IncludeUID Listable[uint32] `json:"include_uid,omitempty"`
IncludeUIDRange Listable[string] `json:"include_uid_range,omitempty"`
ExcludeUID Listable[uint32] `json:"exclude_uid,omitempty"`