Comments (14)
如果是想实现分应用代理的话,应该需要在tun2socks进行相应的改动,将发起连接的进程名一起发送到V2Ray。
如果在设备上可以使用root的话,用iptable实现应该是比较方便的。
from actinium.
你是否想先尝试使用iptable完成对应的功能?
from actinium.
在手机侧很难获取到ROOT权限的,只能通过安卓操作系统形成虚拟网关,例如socketshadows那样建立VPN,将手机应用访问信息进行拦截,然后转发到一个端口上,默认是1080端口,然后再考虑如何能够根据应用进行分发到指定的代理服务器上,通过代理服务器访问internet网。
from actinium.
不知能否合作解决这个问题,因为我们的人无法知道GO语言及网络协议中附加信息传输。
from actinium.
我自己没有时间参与搞这个, 如果有其他开发者愿意参与可以继续交流。
from actinium.
@lovetcp Android 的 VPNService 无法判断请求来自哪个应用(用户),iptables 似乎是唯一可行的方案。
from actinium.
大概思路就是改一下tun2socks(C)的代码把进出的tcp端口发送过来,然后再改libv2ray(Go),v2ray-core(Go)支持按来源转发。我暂时懒得搞。。。
from actinium.
@xiaokangwang Android 同一时间内只能开启一个 VpnService,所以 tun2socks 也是只用一个监听端口。所以依靠 VpnService 进行按应用转发基本无解。如果是别人做的应用,iptables 似乎是毕竟简单的办法,如果是自己的应用就好办,直接设置 http 代理即可。
from actinium.
@liberal-boy 大神,请问最新版在哪儿能下载啊?小白不会自行编译。。谢谢大神!
from actinium.
@walasix play 商店有
from actinium.
@liberal-boy 谢谢大神回复,我看到play商店有,但是qiang内没法在play下载啊?
from actinium.
@liberal-boy 大神, 通过apk downloader之类的网站下载play商店的actinium,但在手机上安装时提示“应用未安装”,试了几次都无法安装,请问怎么解决呢?
from actinium.
from actinium.
那个 V2Ray-Android/AndroidLibV2ray的代码有好久没有更新了。
from actinium.
Related Issues (20)
- 配置文件兼容化时 address 被错误修改为默认值
- 希望可以提供更改图标或者是应用程序包名的功能
- 配置文件转换错误 HOT 2
- Libv2ray版本需要更新 HOT 2
- 为何手机ACTINIUM启动后1小时甚至更短时间就掉线
- 手机需要设置代理吗?
- actinium还有没有可能更新?当前版本配置文件转换有问题啊 HOT 1
- Instagram频繁无法刷新动态 HOT 2
- 同一配置文件中,填入多个服务器会导致连接超时
- 无法连接。Websocket+TLS。服务器的证书签在一个三级域名上。
- 問題反饋:不支援全局/PAC切換 HOT 1
- 导出了Actinium格式的配置文件,修改加入domain override以及chinasite、chinaip都无法实现绕过大陆域名和IP HOT 1
- bind() failed: Address already in use (sock = 69)
- Play the rotation of the screen (landscape Mode and Potrait Mode) at the time of entry on "features Per-proxy app"
- Click multiple times, the application will crash
- 找到安卓系统断流的解决方法,三星亲测可用!
- 连接成功后,点击测试,显示这个
- 请问电脑端的配置文件和安卓上的有什么区别?直接用为什么提示配置文件无效
- Is project dead?
- the format of the config file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actinium.