Local V2Ray node settings (可以说是客户端)
<hostname>: a1.v2ray.com
<UUID>: 7153bf6a-a1da-4933-88d4-975f22b5233f, 你可以你的uuid
V2ray: 4.18- {
- "inbounds": [
- {
- "port": 1080,
- "protocol": "http"
- },
- {
- "port": 1081,
- "protocol": "socks"
- },
- ],
- "outbounds": [
- {
- "protocol": "vmess",
- "settings": {
- "vnext": [
- {
- "address": “<hostname>”,
- "port": 443,
- "users": [
- {
- "id": “<UUID>",
- "security": "nono"
- }
- ]
- }
- ]
- },
- "streamSettings": {
- "network": "http",
- "tlsSettings": {
- "allowInsecure": true
- },
- "httpSettings": {
- "host": [“<hostname>"],
- "path": “/vpath/"
- },
- "security": "tls"
- }
- },
- {
- "protocol": "freedom",
- "tag": "direct",
- "settings": {}
- }
- ],
- "routing": {
- "domainStrategy": "IPIfNonMatch",
- "rules": [
- {
- "type": "field",
- "ip": ["geoip:private"],
- "outboundTag": "direct"
- },
- {
- "type": "field",
- "domain": [ "geosite:cn"],
- "outboundTag": "direct"
- },
- {
- "type": "field",
- "ip": ["geoip:cn"],
- "outboundTag": "direct"
- }
- ]
- }
- }
複製代碼 |