找到配置文件“"inbounds": [” 这一行,回车另起一行,复制粘贴保存,重启v2
- {
- "listen": "127.0.0.1",
- "port": 8080, ##端口,自己改一下
- "tag": "vmess-in",
- "protocol": "vmess",
- "settings": {
- "clients": [
- {
- "id": "0e0f98f0-3bc8-44b6-a845-8cacd562bf22", ####uuid,https://1024tools.com/uuid 在线生成uuid,记得修改
- "alterId":64
- }
- ]
- },
- "streamSettings": {
- "network": "tcp",
- "tcpSettings": {
- "header": {
- "type": "http",
- "response": {
- "version": "1.1",
- "status": "200",
- "reason": "OK",
- "headers": {
- "Content-Type": ["application/octet-stream", "video/mpeg"],
- "Transfer-Encoding": ["chunked"],
- "Connection": ["keep-alive"],
- "Pragma": "no-cache"
- }
- }
- }
- }
- }
- },
复制代码 |