在一楼的我的local config.json, 现在我把我现在用的config,删去server,UUID和port number,那么你可以有一个完整的config。要注意这是一个local configure,就是你在大陆的local V2Ray node,你美国安装的remote V2Ray node。- {
- "inbounds": [
- {
- "port": 1081,
- "protocol": "socks",
- "sniffing": {
- "enabled": true,
- "destOverride": ["http","tls"]
- },
- "listen": "10.0.3.2",
- "settings": {
- "udp,tcp": true
- }
- }
- ],
- "outbounds": [
- {
- "tag": "us1”,
- "protocol": "vmess",
- "settings": {
- "vnext": [
- {
- "address": “Server-us1-IP or hostname",
- "port": 12301,
- "users": [
- {"id": “UUID-us1“ }
- ]
- }
- ]
- }
- },
- {
- "tag": "us2",
- "protocol": "vmess",
- "settings": {
- "vnext": [
- {
- "address": “Server-us2-IP or hostname",
- "port": 12302,
- "users": [
- {"id": “UUID-us2" }
- ]
- }
- ]
- }
- },
- {
- "tag": "hk1",
- "protocol": "shadowsocks",
- "settings": {
- "servers": [
- {
- "address": “Server-hk1 or hostname",
- "port": 12303,
- "method": "chacha20-poly1305",
- "password": “password-hk1",
- "ota": false,
- "level": 0
- }
- ]
- }
- },
- {
- "protocol": "freedom",
- "tag": "direct",
- "settings": {}
- }
- ],
- "routing": {
- "domainStrategy": "IPIfNonMatch",
- "balancers": [
- {
- "tag": "loadbalance",
- "selector": [
- "us1",
- "us2",
- "hk1"
- ]
- }
- ],
- "rules": [
- {
- "type": "field",
- "outboundTag": "direct",
- "domain": [
- "geosite:cn"
- ]
- },
- {
- "type": "field",
- "ip": ["geoip:private"],
- "ip": ["geoip:cn"],
- "outboundTag": "direct"
- },
- {
- "type": "field",
- "network": "tcp,udp",
- "balancerTag": "loadbalance"
- }
- ]
- }
- }
複製代碼 . |