|
楼主 |
发表于 2022-5-25 16:06:14
|
显示全部楼层
厂弟 发表于 2022-5-25 16:09
先开个socks的outbound出站,然后路由里面出站写成socks,自己重写下配置完事
我太菜了 这样写全部都走s5 我想访问v4地址就走s5 v6就直连不走 求大佬指点
[ol]{ "api": { "services": [ "HandlerService", "LoggerService", "StatsService" ], "tag": "api" }, "inbounds": [ { "listen": "127.0.0.1", "port": 62789, "protocol": "dokodemo-door", "settings": { "address": "127.0.0.1" }, "tag": "proxy-in" } ], "outbounds": [ { "protocol": "socks", "tag": "proxy-out", "settings": { "servers": [{ "address": "127.0.0.1", "port": 40000, "users": [] }] } }, { "protocol": "freedom", "settings": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "rules": [ { "type": "field", "inboundTag": [ "proxy-in" ], "outboundTag": "proxy-out" }, { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" } ] }, "stats": {}}[/ol]复制代码 |
|