Add support for use with android VPNService

This commit is contained in:
世界
2022-09-05 13:12:29 +08:00
parent a72e18bac2
commit 83e4c65d01
4 changed files with 25 additions and 11 deletions

View File

@@ -86,6 +86,7 @@ func NewTun(ctx context.Context, router adapter.Router, logger log.ContextLogger
IncludeAndroidUser: options.IncludeAndroidUser,
IncludePackage: options.IncludePackage,
ExcludePackage: options.ExcludePackage,
InterfaceMonitor: router.InterfaceMonitor(),
},
endpointIndependentNat: options.EndpointIndependentNat,
udpTimeout: udpTimeout,