聯通雲盤流量包免流

@zgcwkj  2025年09月01日

分類:

代碼 其它 

聯通雲盤免流和定向 host 分享(記錄

流量包

免流 Host

tjtn.pan.wo.cn
tjupload.pan.wo.cn
tjdownload.pan.wo.cn
panservice.mail.wo.cn
f.pan.wo.cn

Tiny 免流

Tiny 配置

部分地區可免(自測)
下載 Tiny 腳本版:https://github.com/EternalPain/ZJL
listen_port=65080;
worker_proc=0;
daemon=on;
uid=0;

http_others=on;
http_ip=;
http_port=;
http_del="Host,X-Online-Host";
http_first="[M] http://[H][U] [V]\r\n";


https_connect=on;
https_ip=180.101.50.208;
https_port=443;
https_del="Host,X-Online-Host";
https_first="[M] [H]@tjtn.pan.wo.cn [V]\r\n";

dns_tcp=http;
dns_listen_port=65053;
dns_url="119.29.29.29";

Clnc 免流

Clnc 配置

部分地區可免(自測)
下載 Clnc 腳本版:https://github.com/mmmdbybyd/CLNC
variables {
    cns_server = xx:xx;
    cns_passwd = xx;
    dst_ip = 180.101.50.249:443;
}
#######UDP部分########
httpUDP::udp {
    udp_socks5_listen = 0.0.0.0:1081
    udp_tproxy_listen = 0.0.0.0:6650;
    destAddr4 = ${dst_ip};
    httpMod = tunnel;
    encrypt = ${cns_passwd};
    header_host = ${cns_server};
}

tcp::Global {
    tcp_listen = :::6650;
}

tcpProxy::https_proxy {
    destAddr4 = ${dst_ip};
    tunnel_proxy = on;
    tunnelHttpMod = tunnel;
}
httpMod::tunnel {
    del_line = host;
    set_first = "[M] [H]tjdownload.pan.wo.cn [V]\r\n";
}
tcpProxy::cns_proxy {
    destAddr = ${cns_server};
    tunnel_proxy = on;
    tunnelHttpMod = tunnelcns;
    tunnel_encrypt = ${cns_passwd};
}    
httpMod::tunnelcns {
    del_line = host;
    set_first = "GET / [V]\r\nHost: tjdownload.pan.wo.cn\r\nMeng: [H]\r\n";
}
   
//特殊端口走cns
tcpAcl::firstConnect {
    tcpProxy = cns_proxy;
    dst_port = 22;
    dst_port = 446;
}
//其他請求使用百度直連代理
tcpAcl::cns {
    tcpProxy = https_proxy;
    dst_port != 0;
}

dns::Global {
    dns_listen = :::6653;
    cachePath = /dev/null;
}
dnsAcl {
    tunnelHttpMod = tunnel;
    destAddr4 = ${dst_ip};
    header_host = 119.29.29.29:80;
    query_type = A;
}

//用於接收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;
    tunDevice = tunDev;
}

V2免流

前提說明

  • 區域:廣東廣州
  • 限制:ipv4 首位,需要3個長度才能免
  • 特例:實測 ipv6 可以打破 ipv4 首位限制3個長度,才能免的問題

搭建步驟

  1. 特別說明:境外搭建,很容易被牆
  2. 打開 xray 的倉庫,下載對應架構的二進制文件
  3. 創建配置文件config.json,內容為下面搭建配置代碼,將端口和ID改成你自己的
  4. 啟動程序:./xray run,Linux需要設置權限才能啟動chmod 777 xray
  5. 檢查能不能呢連通,可以的話就選擇一個 host 來實現免流吧

連接字符示例

vmess://ew0KICAidiI6ICIyIiwNCiAgInBzIjogIkdaVjYiLA0KICAiYWRkIjogIjI0MGU6M2IwOmExMToyYjdlOjk0ODpjYmMzOmQ2MGY6ZTE1YyIsDQogICJwb3J0IjogIjg4MDAiLA0KICAiaWQiOiAiMzUwZmYzNzktYjRkMS00ZTEwLTgzOWEtZWRiZjA1YTdlMzUzIiwNCiAgImFpZCI6ICIwIiwNCiAgInNjeSI6ICJub25lIiwNCiAgIm5ldCI6ICJ3cyIsDQogICJ0eXBlIjogIi0tLSIsDQogICJob3N0IjogInRqZG93bmxvYWQucGFuLndvLmNuIiwNCiAgInBhdGgiOiAiLyIsDQogICJ0bHMiOiAiIiwNCiAgInNuaSI6ICIiLA0KICAiYWxwbiI6ICIiLA0KICAiZnAiOiAiIg0KfQ==

搭建配置

{
  "log": {
    "access": "",
    "error": "",
    "loglevel": "warning"
  },
  "inbounds": [
    {
      "port": 8800,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "350ff379-b4d1-4e10-839a-edbf05a7e353",
            "alterId": 0
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "wsSettings": {
          "path": "/"
        }
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    }
  ]
}


評論已關閉

Top