Skip to content
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

Bind outgoing connections to mobile data interface #135

Open
apirahim opened this issue Dec 13, 2022 · 2 comments
Open

Bind outgoing connections to mobile data interface #135

apirahim opened this issue Dec 13, 2022 · 2 comments
Labels
question Further information is requested

Comments

@apirahim
Copy link

I would like to add an extra feature that I need, to listen for the proxy server on Wifi interface, but for outgoing connections use mobile data
How can I do it? from the little research I've done I know that this is the method for it
"connectivityManager.bindProcessToNetwork(network);"
but I don't know how to add it just for outgoing connections

@krlvm
Copy link
Owner

krlvm commented Dec 13, 2022

Are you sure that it is possible?
I don't think this is the right place to ask such questions.

@krlvm krlvm added the question Further information is requested label Dec 13, 2022
@apirahim
Copy link
Author

apirahim commented Dec 14, 2022

@krlvm I have no experience with Android dev, but I am researching how to do it
There aren't a lot of apps that provide flexibility when setting up the server, but it should be possible to bind to a specific network using the method I mentioned above

Now my goal, is using the mobile data from a distant computer, I was able to do it with FRP which solves the NAT problem in mobile network, but it's too slow for my use. Also using mobile data for incoing and outgoing connections will double bandwidth consumption

Your app is much faster, but I am lost in the code because it's built on top of Little proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants