Giter Site home page Giter Site logo

Comments (14)

xiaokangwang avatar xiaokangwang commented on June 10, 2024

如果是想实现分应用代理的话,应该需要在tun2socks进行相应的改动,将发起连接的进程名一起发送到V2Ray。

如果在设备上可以使用root的话,用iptable实现应该是比较方便的。

from actinium.

xiaokangwang avatar xiaokangwang commented on June 10, 2024

你是否想先尝试使用iptable完成对应的功能?

from actinium.

lovetcp avatar lovetcp commented on June 10, 2024

在手机侧很难获取到ROOT权限的,只能通过安卓操作系统形成虚拟网关,例如socketshadows那样建立VPN,将手机应用访问信息进行拦截,然后转发到一个端口上,默认是1080端口,然后再考虑如何能够根据应用进行分发到指定的代理服务器上,通过代理服务器访问internet网。

from actinium.

lovetcp avatar lovetcp commented on June 10, 2024

不知能否合作解决这个问题,因为我们的人无法知道GO语言及网络协议中附加信息传输。

from actinium.

xiaokangwang avatar xiaokangwang commented on June 10, 2024

我自己没有时间参与搞这个, 如果有其他开发者愿意参与可以继续交流。

from actinium.

liberal-boy avatar liberal-boy commented on June 10, 2024

@lovetcp Android 的 VPNService 无法判断请求来自哪个应用(用户),iptables 似乎是唯一可行的方案。

from actinium.

xiaokangwang avatar xiaokangwang commented on June 10, 2024

大概思路就是改一下tun2socks(C)的代码把进出的tcp端口发送过来,然后再改libv2ray(Go),v2ray-core(Go)支持按来源转发。我暂时懒得搞。。。

from actinium.

liberal-boy avatar liberal-boy commented on June 10, 2024

@xiaokangwang Android 同一时间内只能开启一个 VpnService,所以 tun2socks 也是只用一个监听端口。所以依靠 VpnService 进行按应用转发基本无解。如果是别人做的应用,iptables 似乎是毕竟简单的办法,如果是自己的应用就好办,直接设置 http 代理即可。

from actinium.

walasix avatar walasix commented on June 10, 2024

@liberal-boy 大神,请问最新版在哪儿能下载啊?小白不会自行编译。。谢谢大神!

from actinium.

liberal-boy avatar liberal-boy commented on June 10, 2024

@walasix play 商店有

from actinium.

walasix avatar walasix commented on June 10, 2024

@liberal-boy 谢谢大神回复,我看到play商店有,但是qiang内没法在play下载啊?

from actinium.

walasix avatar walasix commented on June 10, 2024

@liberal-boy 大神, 通过apk downloader之类的网站下载play商店的actinium,但在手机上安装时提示“应用未安装”,试了几次都无法安装,请问怎么解决呢?

from actinium.

lovetcp avatar lovetcp commented on June 10, 2024

from actinium.

lovetcp avatar lovetcp commented on June 10, 2024

那个 V2Ray-Android/AndroidLibV2ray的代码有好久没有更新了。

from actinium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.