websocket + web + nginx的模式可以弄免流吗?
SSR 和v2ray 都可以免流, SSR相关的文章网上有很多,这里就不介绍了,有兴趣的自己GOOGL搜索一下。
新的文章 v2ray 免流 2021
上一篇文章我们已经介绍了 v2ray 的使用,由于使用web + websocket,还是很稳定的, 最近几次墙的比较厉害, v2ray的小鸡还是一切正常(哈哈)
链接在这: v2ray + websocket + web + nginx 配置与使用
今天简单讨论一下 v2ray 免流配置,我在网上找了相关的文章并不多,即使有可能说明也不完整,
当时找到了恩山一篇文章还是比较完整的,链接: 路由器设置v2ray客户端(免流)
恩山文章里介绍的客户端配置文件是可以,我们也可以使用客户端软件v2rayN生成一个类似的(主要配置节点都是一样的)
恩山文章里的配置如下:
{
"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": "vmess",
"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": []
}
}
}
v2rayN 软件配置说明
v2rayN 软件配置截图
v2rayN 点击保存生成的配置如下:
根据V2rayN的软件配置不同略有不同
{
"log": {
"access": "",
"error": "",
"loglevel": ""
},
"inbound": {
"port": 1080,
"listen": "0.0.0.0",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "127.0.0.1",
"clients": null
},
"streamSettings": null
},
"outbound": {
"tag": "agentout",
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "test.v2ray.com",
"port": 80,
"users": [
{
"id": "4d1af378-d80c-4ed7-a3c8-7c79621e1be0",
"alterId": 64,
"security": "none"
}
]
}
],
"servers": null
},
"streamSettings": {
"network": "tcp",
"security": "",
"tcpSettings": {
"connectionReuse": true,
"header": {
"type": "http",
"request": {
"version": "1.1",
"method": "GET",
"path": [
"/"
],
"headers": {
"Host": [
"mall.icbc.com.cn" //这里需要修改为自己手机卡支持的免流域名
],
"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",
"video/mpeg"
],
"Transfer-Encoding": [
"chunked"
],
"Connection": [
"keep-alive"
],
"Pragma": "no-cache"
}
}
}
},
"kcpSettings": null,
"wsSettings": null
},
"mux": {
"enabled": false
}
},
"inboundDetour": null,
"outboundDetour": [
{
"protocol": "freedom",
"settings": {
"response": null
},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
},
"tag": "blockout"
}
],
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
},
"routing": {
"strategy": "rules",
"settings": {
"domainStrategy": "IPIfNonMatch",
"rules": []
}
}
}
BifrostV 是一个基于 V2Ray 内核的 Android 应用,它支持 VMess、Shadowsocks、Socks 协议。
首先把上面生成的客户端配置文件发送到手机,然后在手机打开BifrostV, 选择从导入即可。
其实,只需要在我们上一篇文章中服务器配置文件中添加一个inboundDetour就行了,
inboundDetour 配置:
"inboundDetour":[
{
"port": 80,
"listen": "0.0.0.0",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "4d1af378-d80c-4ed7-a3c8-7c79621e1be0",
"alterId": 64
}
]
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"connectionReuse": true,
"header": {
"type": "http",
"request": {
"version": "1.1",
"method": "GET",
"path": ["/"],
"headers": {
"Host": ["mall.icbc.com.cn"], //这里需要修改为自己手机卡支持的免流域名
"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"
}
··}
}
··}
}
}
]
免流 短信 截图
额,我己经ok了。是我编辑json时第一行没有加左花符号。参考的是“https://toutyrater.github.io/advanced/httpfake.html”这篇文章(可能需要翻墙),只要把 "Host": ["你的HOST"]添加至"header"下即可。以下是我的配置:
{
"inbounds": [
{
"port": 6000,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "12345,上山打老虎",
"level": 1,
"alterId": 64
}
]
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"header": {
"Host": ["免流HOST"],
"type": "http",
"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"
}
}
}
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"routing": {
"strategy": "rules",
"settings": {
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
}
]
}
}
}
{
"inbounds": [{
"port": 6000,
"protocol": "vmess",
"settings": {
"clients": [{
"id": "12345,上山打老虎",
"level": 1,
"alterId": 64
}]
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"header": {
"Host": ["免流HOST"],
"type": "http",
"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"
}
}
}
}
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {
}
},
{
"protocol": "blackhole",
"settings": {
},
"tag": "blocked"
}],
"routing": {
"strategy": "rules",
"settings": {
"rules": [{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "blocked"
}]
}
}
}
楼主也是梦想E卡吗?不知道能不能用443的端口?用80怕封
iOS Dragon Hills 2 Mod APK Rating Download The successor to one of the most animating games we've whenever played, Dragon Hill 2 is starting at now accessible on both Android Name BombSquad Publisher Eric Froemling Genre Action Latest Version 1.37 File Size 23 MB Mod Features Unlimited Tickets and flourishing Platforms Android, iOS BombSquad Mod APK Rating Download Everyone needs two or three rivalries in a game, and that is the spot PvP shooters overwhelm single individual shooter games.
The Echo twin is a critical looker, especially as a result of the weaved seat pads. What we delighted in the most about this Chicco one beside the other twofold carriage was that it was so normal to both push and steer, without imperiling the comfort of the minor riders.
Moreover, the room incorporation of this air purifier is incredible with 360 square feet all things considered extraordinary. With such power, it is reasonable why the Coway AP-1512HH has won a huge amount of presentations and awards, including the British Allergy Foundation Seal of Approval. The Coway AP-1512HH is genuinely raised beneficial for its little decreased size. We even have one in our home, and following 1 year using, its reaction to fragrances and cooking smells is up 'til now really extraordinary.
我并没有做相应的测试,不是很清楚,你做测试了吗?
免流一般是80端口,你可以看到配置中使用HTTP请求,不是很清楚为什么还需要nginx转发?
自用的梯子,有SS/V2ray/Trojan三种节点,高速稳定防封,可以试用:https://xbsj3462.fun/i/sg041