跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • v2配置想问下大佬们
未分類
23 2 月 2020

v2配置想问下大佬们

新网络 大佬有话说 : 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大胆开

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具