mirror of
https://github.com/springzfx/cgproxy.git
synced 2026-01-07 13:07:56 +08:00
24 lines
733 B
Plaintext
24 lines
733 B
Plaintext
## any process in this cgroup will be proxied
|
|
## must start with slash '/'
|
|
proxy_cgroup="/proxy.slice"
|
|
# proxy_cgroup="/user.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_outbound_mark=0xff # 255
|
|
|
|
## do not modify this if you don't known what you are doing
|
|
table=100
|
|
mark=0x01
|
|
mark_newin=0x02 |