-
-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support read from FileDescriptor #71
Comments
I'm not familiar with Android, but try to use tun instead of fd. |
tun cannot be open(2) directly in android without root privilege, but an fd to tun can be obtained from android framework. |
@kaisar945 FD based device has been added experimentally but not fully tested, see f6ba31f for details. Keep me updated if you encounter any problems. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
But how to use it? In badvpn(https://github.com/ambrop72/badvpn), I see this command and then send the file desriptor of the tun0 device to --sock-path To be more specific, this is how badvpn-tun2socks works in Android.
|
Thanks friend😄 |
Engine.stop() will report an error when restarted after disconnection |
I don't know how to use this project in android please help me thanks
The text was updated successfully, but these errors were encountered: