新网络 大佬有话说 : 2019-12-3 19:14:12
v2配置想问下大佬们
{
"outbounds": [{
"protocol": "vmess",
"settings": {
"vnext": [{
"address": "XXX.XXX.XXX.XXX,
"port": 35535,
"users": [{
"id": "XXX-XXX",
"alterId": XXX,
"security": "auto"
}]
}]
},
"streamSettings": {
"network": "kcp",
"kcpSettings": {
"uplinkCapacity": 100,
"downlinkCapacity": 100,
"congestion": true,
"header": {
"type": "wechat-video"
}
}
},
"mux": {
"enabled": true
}
}, {
"protocol": "freedom",
"settings": {},
"tag": "direct"
}, {
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}, {
"protocol": "dns",
"tag": "dns-out"
}],
"inbounds": [{
"port": "1099",
"protocol": "dokodemo-door",
"settings": {
"network": "tcp,udp",
"timeout": 0,
"followRedirect": true
},
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
}
}, {
"port": 2133,
"tag": "dns-in",
"protocol": "dokodemo-door",
"settings": {
"address": "119.29.29.29",
"port": 53,
"timeout": 0,
"network": "tcp,udp"
}
}, {
"port": 2333,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
}
}, {
"port": 6666,
"protocol": "http",
"settings": {
"auth": "noauth",
"udp": true
}
}],
"dns": {
"servers": ["1.1.1.1", "1.0.0.1", {
"address": "119.29.29.29",
"port": 53,
"domains": ["geosite:cn"]
}, "8.8.8.8", "8.8.4.4", "localhost"]
},
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [{
"type": "field",
"inboundTag": ["dns-in"],
"outboundTag": "dns-out"
}, {
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "blocked"
}, {
"type": "field",
"ip": ["geoip:cn"],
"outboundTag": "direct"
}, {
"type": "field",
"domain": ["geosite:cn"],
"outboundTag": "direct"
}]
}
}
大佬们帮我看下,我想全局代理,结果删除routing之后不能正常启动,如果实现全局代理除了删除routing还有哪里要修改的吗?
qgtxqj 大佬有话说 : 2019-12-3 19:18:56
routing的rules段改成
"rules": [{
"type": "field",
"inboundTag": ["dns-in"],
"outboundTag": "dns-out"
}]
xcy1020 大佬有话说 : 2019-12-3 19:55:38
:lol:lol大佬你的图床不支持GIF吗
https://i.omimg.com/2019/12/03/bd020979ac6d8.png
新网络 大佬有话说 : 2019-12-3 20:41:21
xcy1020 大佬有话说 : 2019-12-3 19:55
大佬你的图床不支持GIF吗
:lol GIF一张好几M耗不住
xcy1020 大佬有话说 : 2019-12-3 20:50:11
新网络 大佬有话说 : 2019-12-3 20:41
GIF一张好几M耗不住
yc022t大胆开