标签:routing url 配置 tar tls proxy socks ack add
bash <(curl -L -s https://install.direct/go.sh)
vim /etc/v2r/config.json { "log": { "error": "", "loglevel": "info", "access": "" }, "inbounds": [ { "listen": "0.0.0.0", "protocol": "socks", "settings": { "udp": false, "auth": "noauth" }, "port": 1080 }, { "listen": "0.0.0.0", "protocol": "http", "settings": { "timeout": 360 }, "port": 1081 } ], "outbounds": [ { "mux": { "enabled": false, "concurrency": 8 }, "protocol": "vmess", "streamSettings": { "wsSettings": { "path": "/live", "headers": { "host": "" } }, "tlsSettings": { "allowInsecure": true }, "security": "tls", "network": "ws" }, "tag": "proxy", "settings": { "vnext": [ { "address": "cf2us.mzke5.buzz", "users": [ { "id": "79758a33-5ad2-4058-8f55-a5a707f13e35", "alterId": 2, "level": 0, "security": "aes-128-gcm" } ], "port": 443 } ] } }, { "tag": "direct", "protocol": "freedom", "settings": { "domainStrategy": "UseIP", "redirect": "", "userLevel": 0 } }, { "tag": "block", "protocol": "blackhole", "settings": { "response": { "type": "none" } } } ], "dns": {}, "routing": { "settings": { "domainStrategy": "AsIs", "rules": [] } }, "transport": {} }
service v2r stop # 停止 service v2r start # 启动 service v2r status # 查看状态 service v2r stop && service v2r start && service v2r status
标签:routing url 配置 tar tls proxy socks ack add
原文地址:https://www.cnblogs.com/yoyo1216/p/13137569.html