mirror of
https://github.com/springzfx/cgproxy.git
synced 2026-01-07 13:07:56 +08:00
1. return incoming connection directly, v2ray tproxy seems not work for this situation, maybe a v2ray bug 2. exclude lo to avoid local bind problem, for example if your dns is 127.0.0.1:53 for doh, then v2ray can't bind to reply back result
24 lines
705 B
Plaintext
24 lines
705 B
Plaintext
## any process in this cgroup will be proxied
|
|
## must start with slash '/'
|
|
proxy_cgroup="/proxy.slice"
|
|
|
|
## listening port of another proxy process, for example v2ray
|
|
port=12345
|
|
|
|
## if you set to false, it's traffic won't go through proxy, but still can go direct to internet
|
|
enable_tcp=true
|
|
enable_udp=true
|
|
enable_ipv4=true
|
|
enable_ipv6=true
|
|
|
|
## v2ray outbound mark, depend on your v2ray setting
|
|
## only useful if v2ray process is also in proxy_cgroup, for example, you want to proxy whole userspace,
|
|
## and v2ray is also running in the same userspace
|
|
## otherwise ignore this
|
|
v2ray_so_mark=255
|
|
|
|
## do not modify this if you don't known what you are doing
|
|
table=100
|
|
mark=100
|
|
mark_newin=1
|
|
v2ray_so_mark=255 |