|
|
本帖最后由 lomusive 于 2018-5-7 21:26 编辑
固件:老毛子https://www.right.com.cn/forum/thread-161324-1-1.html希望大佬改进下v2瑞客户端,现在改下设置就要重新下载,唉
服务端随你怎么搭建,手机可以路由器就行。
既然是免流相关当然tcp http全局
在服务端找到:服务器ip,端口,uuid,alterid。就这四个,然后自己设置下host
改下配置就行,模板放这了
- {
- "log": {
- "error": "/tmp/syslog.log",
- "loglevel": "warning"
- },
- "inbound": {
- "port": 1088,
- "listen": "192.168.123.1",
- "protocol": "socks",
- "settings": {
- "auth": "noauth",
- "udp": true,
- "ip": "192.168.123.1"
- }
- },
- "inboundDetour": [
- {
- "port": "1099",
- "listen": "0.0.0.0",
- "protocol": "dokodemo-door",
- "settings": {
- "network": "tcp,udp",
- "timeout": 30,
- "followRedirect": true
- }
- }
- ],
- "outbound": {
- "protocol": "插件",
- "settings": {
- "vnext": [
- {
- "address": "填你的服务器ip",
- "port": 填你的端口,
- "users": [
- {
- "id": "填你的uuid",
- "alterId": 填你的alterid
- }
- ]
- }
- ]
- },
- "streamSettings": {
- "network": "tcp",
- "tcpSettings": {
- "connectionReuse": true,
- "header": {
- "type": "http",
- "request": {
- "version": "1.1",
- "method": "GET",
- "path": ["/"],
- "headers": {
- "Host": ["你的免流host"],
- "User-Agent": [
- "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36",
- "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46"
- ],
- "Accept-Encoding": ["gzip, deflate"],
- "Connection": ["keep-alive"],
- "Pragma": "no-cache"
- }
- },
- "response": {
- "version": "1.1",
- "status": "200",
- "reason": "OK",
- "headers": {
- "Content-Type": ["application/octet-stream", "application/x-msdownload", "text/html", "application/x-shockwave-flash"],
- "Transfer-Encoding": ["chunked"],
- "Connection": ["keep-alive"],
- "Pragma": "no-cache"
- }
- }
- }
- }
- }
- },
- "outboundDetour": [
- {
- "protocol": "freedom",
- "settings": {},
- "tag": "direct"
- }
- ],
- "dns": {
- "servers": [
- "8.8.8.8",
- "8.8.4.4",
- "localhost"
- ]
- },
- "routing": {
- "strategy": "rules",
- "settings": {
- "domainStrategy": "IPIfNonMatch",
- "rules": []
- }
- }
- }
复制代码
|
|