Created
April 21, 2021 01:47
-
-
Save KyonLi/d02ea2d362d692392f2fafd57f3b7a58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//v4.35.0+ | |
{ | |
"inbounds": [ | |
{ | |
"port": 1090, //留给本机 socks 使用 | |
"listen": "127.0.0.1", | |
"protocol": "socks", | |
"settings": { | |
"auth": "noauth", | |
"udp": true | |
} | |
}, | |
{ | |
"port": 10901, //留给本机 http 协议使用 | |
"listen": "127.0.0.1", | |
"protocol": "http", | |
"settings": {} | |
} | |
], | |
"outbounds": [ | |
{ | |
"tag": "ws_tls_v2ray", | |
"protocol": "vmess", | |
"settings": { | |
"vnext": [ | |
{ | |
"address": "{vm_ip}", //脱敏,vm 服务器 ip | |
"port": 2443, //vm 服务器 端口 | |
"users": [ | |
{ | |
"id": "xx-xxx-xxxxx-xxxx-xxx-xxx-xxx", //脱敏 | |
"alterId": 2, //脱敏 | |
"email": "[email protected]", //脱敏 | |
"security": "auto" //脱敏 | |
} | |
] | |
} | |
] | |
}, | |
"streamSettings": { | |
"network": "ws", | |
"security": "tls", | |
"tlsSettings": { | |
"serverName": "{vm_host.com}" //脱敏 vm 服务器主机名 | |
}, | |
"wsSettings": { | |
"path": "/v2ray", | |
"headers": { | |
"Host": "{vm_host.com}" //脱敏 vm 服务器主机名 | |
} | |
} | |
}, | |
"proxySettings": { | |
"tag": "front_http", | |
"transportLayer": true | |
} | |
}, | |
{ | |
"tag": "front_http", | |
"protocol": "http", | |
"settings": { | |
"address": "10.173.110.10", | |
"port": 3128 | |
} | |
} | |
], | |
"routing": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment