some code adjustment

This commit is contained in:
fancy
2020-04-23 12:27:10 +08:00
parent 891fdcfc93
commit b614d006c1
2 changed files with 14 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
## 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
@@ -15,9 +16,9 @@ enable_ipv6=true
## 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
v2ray_outbound_mark=0xff # 255
## do not modify this if you don't known what you are doing
table=100
mark=100
mark_newin=1
mark=0x01
mark_newin=0x02