点击上方"蓝字"关注我们吧!
此模式适用于电信wap不计总地区,其他地区自己测试。1.新建apn,ctwap。2.调内网。3.开启clnc。
调完内网再开clnc,不然没网。
需要cns,完美解决游戏,视频,直播等问题,跟复活后的百度直连没差别。
有跳点,连上了就别断,能力有限,追求0跳自己找大佬改模式。
有延迟,建议测试完后再奔放。
无忧卡已测试✔ 19元星卡已测试✔
江苏地区测试通过,如果跑别的定向自行替换混淆mmsc.vnet.mobi
/*
普通免流 例子,只需要修改HTTP/HTTPS代理IP跟模式(可作为wap模式)
*/
variables {
http_dst = 10.0.0.200:80;
http_header = "[M] [U] [V]\r\n江苏\r\nX-Online-Host: [H]\r\nHost: download.cloud.189.cn\r\n";
tunnel_dst = 10.0.0.200:80;
tunnel_header = "[M] [H]@download.cloud.189.cn [V]\r\n;
//二级代理,cns尽量443端口
cns_header = "GET[V]\r\nMeng: [H]\r\nHost: download.cloud.189.cn\r\n";
cns_server = ;
cns_passwd = ;
}
#######UDP部分########
httpUDP::udp {
udp_socks5_listen = 0.0.0.0:1081
udp_tproxy_listen = 0.0.0.0:6650;
//如果使用cns服务器请删除下面的斜杠
destaddr = ${cns_server};
httpMod = tunnel;
encrypt = ${cns_passwd};
header_host = ${cns_server};
}
tcp::Global {
tcp_listen = :::6650;
}
tcpProxy::http_proxy {
//HTTP代理地址
destaddr = ${http_dst};
httpMod = http;
}
//HTTP模式
httpMod::http {
del_line = host;
set_first = ${http_header};
}
tcpProxy::https_proxy {
//HTTPS代理地址
destaddr = ${tunnel_dst};
tunnelHttpMod = tunnel;
tunnel_proxy = on;
}
//HTTPS模式
httpMod::tunnel {
del_line = host;
set_first = ${tunnel_header};
}
httpMod::tunnel0 {
del_line = host;
set_first = ${cns_header};
}
tcpProxy::tp0 {
destAddr4 = ${cns_server};
tunnel_proxy = on;
tunnelHttpMod = tunnel0;
tunnel_encrypt = ${cns_passwd};
}
//ssl端口先建立CONNECT连接
tcpAcl::firstConnect {
tcpProxy = https_proxy;
matchMode = firstMatch;
//读取数据后尝试匹配tcpAcl::http模块
reMatch = http;
continue: dst_port = 443;
continue: dst_port = 80;
dst_port != 6650;
}
tcpAcl::cns {
tcpProxy = tp0;
continue: dst_port != 80;
continue: dst_port != 443;
dst_port != 0;
}
//匹配普通http请求
tcpAcl::http {
tcpProxy = http_proxy;
continue: method != IS_NOT_HTTP|CONNECT;
reg_string != WebSocket;
}
//其他请求使用CONNECT代理
tcpAcl::CONNECT {
tcpProxy = https_proxy;
dst_port != 0;
}
dns::Global {
dns_listen = :::6653;
cachePath = /dev/null;
}
dnsAcl {
httpMod = http;
//HTTP代理地址
destaddr = ${http_dst};
header_host = 119.29.29.29;
query_type = A;
//query_type = AAAA;
}
//用于接收socks5请求
socks5::recv_socks5 {
socks5_listen = 0.0.0.0:1081;
socks5_dns = 127.0.0.1:6653;
handshake_timeout = 60;
}
Tun {
tunAddr4 = 10.0.0.1;
tunAddr6 = fc00::1;
tunMtu = 1500;
tunDevice = tunDev;
}
#######UDP部分########
/无忧卡是可以走cns的,专用模式。无锡的💊友测试过。普卡也用这个试试。/
httpUDP::udp {
udp_socks5_listen = 0.0.0.0:1081
udp_tproxy_listen = 0.0.0.0:6650;
//建议443 80端口 软件写ip
destaddr = 10.0.0.200:80;
httpMod = tunnel;
encrypt = 密码;
header_host = ip:端口;
}
tcp::Global {
tcp_listen = :::6650;
}
tcpProxy::http_proxy {
//HTTP代理地址
destaddr = 10.0.0.200:80;
httpMod = http;
}
//HTTP模式
httpMod::http {
del_line = host;
set_first = "[M] [U] [V]\r\n江苏\r\nX-Online-Host: [H]\r\nHost: mmsc.vnet.mobi\r\n";
}
tcpProxy::https_proxy {
//HTTPS代理地址
destaddr = 10.0.0.200:80;
tunnelHttpMod = tunnel;
tunnel_proxy = on;
}
//HTTPS模式
httpMod::tunnel {
del_line = host;
set_first = "[M] [H]@mmsc.vnet.mobi [V]\r\n";
}
httpMod::tunnel0 {
del_line = host;
set_first = "GET[V]\r\nMeng: [H]\r\nHost: mmsc.vnet.mobi\r\n";
}
tcpProxy::tp0 {
destAddr4 = ip:端口;
tunnel_proxy = on;
tunnelHttpMod = tunnel0;
tunnel_encrypt = 密码;
}
//ssl443先建立CONNECT连接
tcpAcl::firstConnect {
tcpProxy = https_proxy;
matchMode = firstMatch;
//读取数据后尝试匹配tcpAcl::http模块
reMatch = http;
continue: dst_port = 443;
continue: dst_port = 80;
dst_port != 6650;
}
tcpAcl::cns {
tcpProxy = tp0;
continue: dst_port != 80;
continue: dst_port != 443;
dst_port != 0;
}
//匹配普通http请求
tcpAcl::http {
tcpProxy = http_proxy;
continue: method != IS_NOT_HTTP|CONNECT;
reg_string != WebSocket;
}
//其他请求使用CONNECT代理
tcpAcl::CONNECT {
tcpProxy = https_proxy;
dst_port != 0;
}
dns::Global {
dns_listen = :::6653;
cachePath = /dev/null;
}
dnsAcl {
httpMod = http;
//HTTP代理地址
destaddr = 10.0.0.200:80;
header_host = 119.29.29.29;
query_type = A;
//query_type = AAAA;
}
//用于接收socks5请求
socks5::recv_socks5 {
socks5_listen = 0.0.0.0:1081;
socks5_dns = 127.0.0.1:6653;
handshake_timeout = 60;
}
Tun {
tunAddr4 = 10.0.0.1;
tunAddr6 = fc00::1;
tunMtu = 1500;
tunDevice = tunDev;
}
YOUTH号抖音号抖音YOUTH