Add support for use with android VPNService

This commit is contained in:
世界
2022-09-05 13:12:29 +08:00
parent f7bed32c6f
commit 8e7957d440
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,