{ "outbounds": [ { "tag": "direct", "type": "direct" } ], "log": { "level": "info", #日志等级,内存小请fatal/none "disabled": false, #或者disabled "timestamp": true }, "route": { "rules": [ { "outbound": "direct", "ip_cidr": [ "10.0.0.0\/8", "172.16.0.0\/12", "192.168.0.0\/16" ] } ] #不转发的IP段,直连。缝合来的。 }, "inbounds": [ { "type": "socks", "users": [ { "username": "user", "password": "password" } ], #Socks账号密码 "listen": "::", "listen_port": 16233, #服务监听端口 "tag": "inbound" } ] } #如果运行不了请删除配置内的注释内容。 #修改时请注意Json格式不要被破坏。