Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "log": {
- "loglevel": "none"
- },
- "inbound": {
- "port": 23456, // 这个用来提供 dns 查询使用,端口不能修改
- "listen": "127.0.0.1",
- "protocol": "socks",
- "settings": {
- "udp": true
- }
- },
- "inboundDetour":
- [{
- "port": 3333, // 这个是透明翻墙的流量部分,端口不能修改
- "listen": "0.0.0.0",
- "protocol": "dokodemo-door",
- "settings": {
- "network": "tcp,udp",
- "followRedirect": true
- }
- }],
- "outbound": { // 这里是 vps 服务器的配置,可以用你自己喜欢的协议等
- "protocol": "vmess",
- "settings": {
- "vnext": []
- },
- "streamSettings": {
- "network": "tcp"
- //"security": "tls",
- //"tlsSettings": {
- // "allowInsecure": true // 如果使用 TLS 配合 let's encrytp 的证书,需要加这个,因为路由器上面没有他的根证书
- //}
- }
- },
- "policy": {
- "levels": {
- "0": {"uplinkOnly": 0}
- }
- }
- }
Add Comment
Please, Sign In to add comment