|
楼主 |
发表于 2020-5-12 17:52:14
|
显示全部楼层
对不起多了一个逗号,试试这个代码:
- {
- "inbounds": [
- {
- "port": 12345,
- "protocol": "vmess",
- "settings": {
- "clients": [
- {
- "id": "89b830e0-7429-4905-b3c5-773c28d75643",
- "alterId": 64
- }
- ]
- },
- "sniffing": {
- "enabled": true,
- "destOverride": ["http", "tls"]
- }
- }
- ],
- "outbounds": [
- {
- "protocol": "freedom",
- "settings": { },
- "tag": "direct"
- },
- {
- "tag":"IP6_out",
- "protocol": "freedom",
- "settings": {
- "domainStrategy": "UseIPv6"
- }
- }
- ],
- "routing": {
- "rules": [
- {
- "type": "field",
- "outboundTag": "IP6_out",
- "domain": ["geosite:netflix"]
- },
- {
- "type": "field",
- "outboundTag": "IP6_out",
- "domain": ["geosite:telegram"]
- },
- {
- "type": "field",
- "inboundTag": [
- "vmess-in"
- ],
- "outboundTag": "direct"
- }
- ]
- }
- }
复制代码 |
|