Comments (6)
I thinks your proxy program need some special permission, for exmple
sudo setcap "cap_net_admin,cap_net_bind_service=ep" /usr/lib/v2ray/v2ray
from cgproxy.
I thinks your proxy program need some special permission, for exmple
sudo setcap "cap_net_admin,cap_net_bind_service=ep" /usr/lib/v2ray/v2ray
I have already set these permissions:
$ getcap /usr/lib/v2ray/v2ray
/usr/lib/v2ray/v2ray = cap_net_bind_service,cap_net_admin+ep
Without these two permissions, even PC's transparent proxy doesn't work (has similar error like that).
After set these two permissions, PC's transparent proxy works, but other devices connected to AP still doesn't work.
I also tried to run v2ray
as root, however the result is the same: PC works but AP doesn't work. The error is exactly the same.
from cgproxy.
OK, have you tried run cgnoproxy <PROXY PROGRAM>
?
I have no problem in this way.
from cgproxy.
OK, have you tried run
cgnoproxy <PROXY PROGRAM>
?
I have no problem in this way.
Yes, on PC, cgnoproxy
also works without any problem.
On other device there're no cgnoproxy
command.
I do some trying, and find out that perhaps the route from PC to phone is incorrect.
If my AP's IP is 10.x.x.x, and if I add this line:
iptables -t mangle -A TPROXY_OUT -d 10.0.0.0/8 -j RETURN
Then my phone can access internet, and can use PC's transparent proxy.
from cgproxy.
You are right. I thought conntrack wiil handle this, the fact is not.
I will make a update to fix this.
and btw cgnoproxy <v2ray ...>
only need to run on your PC.
from cgproxy.
fixed in 168779e
welcome to test it.
from cgproxy.
Related Issues (20)
- Please publish the version 0.19 release with correct commit
- OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.google.com:443 HOT 1
- v2ray.service not working HOT 3
- accept4: too many open files HOT 2
- centos8 做透明网关代理,被代理的服务器通过不同网段的机器ssh连接超时 HOT 1
- 这个能在openwrt部署吗?
- 和libvirt也冲突 HOT 4
- 启用透明代理后无法访问任何外网
- [求助] 透明代理无法使用 HOT 2
- 无法排除代理firefox HOT 1
- [求助]请问这个可以配合clash使用吗
- /system.slice/v2ray.service 相关问题 HOT 2
- cgproxy和wireguard搭配时使用kdeconnect的网关问题 HOT 3
- 希望增加劫持 53 端口选项。
- 您好,请问使用xray内核我的cgproxy要怎么配置呢
- Archlinux更新后 cgproxy不可用 HOT 1
- AUR编译出错 HOT 1
- how to support UDP with qv2ray HOT 2
- using with -confdir . not working but -config /etc/v2ra/config.json works
- AUR PKBUILD has problem HOT 1
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 cgproxy.