我太菜了 这样写全部都走s5 我想访问v4地址就走s5 v6就直连不走 求大佬指点- {
- "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": {}
- }
复制代码 |