1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
| vim /etc/v2ray/config.json { "log": { "loglevel": "debug", "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log" }, "inbounds": [{ "port": 1081, "protocol": "http", "sniffing": { "enabled": true, "destOverride": ["http", "tls"] }, "settings": { "auth": "noauth", "udp": false } },{ "port": 1080, "listen": "127.0.0.1", "tag": "socks-inbound", "protocol": "socks", "settings": { "auth": "noauth", "udp": false, "ip": "127.0.0.1" }, "sniffing": { "enabled": true, "destOverride": ["http", "tls"] } }], "outbounds": [{ "protocol": "vmess", "settings": { "vnext": [ { "address": "144.34.187.61", // 服务器的 IP "port": 17584, // 服务器的端口 "users": [ { // id 就是 UUID,相当于用户密码 "id": "e1dd0ae3-9f42-4375-a6b9-35c71b817c89", "alterId": 64 } ] } ] }, "tag": "vmess" } ] }
|