師兄, 係個 config.json 入面加左 type:wechat-video 後, 請問 client 端要怎改? 我用 iphone shadowrocket.

謝謝



Vmess Alterid改成"alterId": 97
raywan 發表於 2019-10-5 23:57

TOP

回覆  raywan

師兄, 我入左 vi etc/v2ray/config.json, 但我入面無類似  "type":"wechat-video" 既野, 只 ...
shootshoot 發表於 2019-10-7 10:20


你要post config.json我先知你用咩protocol
https://www.v2ray.com/chapter_02/transport/mkcp.html
    自己了解下先
記住我係打v2ray既vmess+mkcp先得,行SS我就唔識啦,要睇下你行咩code先得

TOP

回覆  pineapple2006

師兄你啲工具好高深, 我只聽過 v2ray, 其他都唔識...
請問有教學嗎? 謝謝 ...
shootshoot 發表於 2019-10-7 11:07



    你要自己上網找v2ray,你可以參考下我O的code
  1. {
  2. "log" : {    "access": "/var/log/v2ray/access.log",
  3.     "error": "/var/log/v2ray/error.log",
  4.     "loglevel": "warning"
  5.   },
  6.   "inbound": {
  7.     "port": 12345,
  8.     "protocol": "vmess",
  9.     "settings": {
  10.       "clients": [
  11.         {
  12.           "id": "dadd7aab-bf3b-44ef-80f2-7074fe1230dc",
  13.           "level": 1,
  14.           "security": "chacha20-poly1305",
  15.           "alterId": 97
  16.         }
  17.       ]
  18.     }
  19.   },
  20. "dns": {
  21.     "servers": [
  22.       "192.168.1.1"
  23.        ]
  24.   },

  25. "servers": [
  26.       "192.168.1.1",
  27.       "192.168.1.3"
  28.   ],
  29.   "clientIp": "abcd123.duckdns.org",

  30. "inboundDetour": [
  31.         {
  32.             "protocol": "vmess",
  33.             "port": "9000-65530",
  34.             "tag": "vmess-detour-328655",
  35.             "settings": {},
  36.             "allocate": {
  37.                 "strategy": "random",
  38.                 "concurrency": 16,
  39.                 "refresh": 3
  40.             },
  41.             "streamSettings": {
  42.                 "network": "kcp",

  43. "kcpSettings": {
  44.         "mtu": 1350,
  45.         "tti": 10,
  46.         "uplinkCapacity": 120,
  47.         "downlinkCapacity": 120,
  48.         "congestion": false,
  49.         "readBufferSize": 32,
  50.         "writeBufferSize": 32,
  51.         "header": {
  52.           "type": "wechat-video"
  53.         }
  54.       }




  55.             }
  56.         }
  57.     ],
  58.   "outbound": {
  59.     "protocol": "freedom",
  60.     "settings": {}
  61. },
  62.   "outboundDetour": [
  63.     {
  64.       "protocol": "blackhole",
  65.       "settings": {},
  66.       "tag": "blocked"
  67.     }
  68.   ],
  69.   "routing": {
  70.     "strategy": "rules",
  71.     "settings": {
  72.       "rules": [
  73.         {
  74.           "type": "field",
  75.           "ip": [
  76.             "0.0.0.0/8",
  77.             "10.0.0.0/8",
  78.             "100.64.0.0/10",
  79.             "127.0.0.0/8",
  80.             "169.254.0.0/16",
  81.             "172.16.0.0/12",
  82.             "198.18.0.0/15",
  83.             "198.51.100.0/24",
  84.             "203.0.113.0/24",
  85.             "::1/128",
  86.             "fc00::/7",
  87.             "fe80::/10"
  88.           ],
  89.           "outboundTag": "blocked"
  90.         }
  91.       ]
  92.     }
  93.   }
  94. }
複製代碼

TOP

回覆  raywan

師兄, 我入左 vi etc/v2ray/config.json, 但我入面無類似  "type":"wechat-video" 既野, 只 ...
shootshoot 發表於 2019-10-7 10:20


因為你唔係行mkcp/kcp,所以無左呢行
請參考我O的code,自行改code,記住所有{}都不能多同少,你可以用以下code check下config.json有無問題先restart
  1. /usr/bin/v2ray/v2ray -test -config /etc/v2ray/config.json
複製代碼

TOP

其實我都唔識,只係跟YouTube教學整
係Google cloud免費起個VPS
然後用一鍵setup
Google, cloudflare等 ...
pineapple2006 發表於 2019-10-7 11:45


你可以睇下條script(install.sh)寫O的咩先好安裝

TOP

師兄, 唔知可否詳細少少教下我呢啲新手呢?
我個時都係多得有師兄詳細教, 先 set 到係 NAS 度裝 v2ray.
...
shootshoot 發表於 2019-10-6 22:26



    好似話...唔WORK了

TOP

回覆 20# pineapple2006


    kcp+header用udp得唔得?

TOP

發覺用任何VPN都好快會block IP
要諗辦法幫香港隻router轉IP好麻煩
SS用到但好慢,慢到send個WhatsApp text ...
pineapple2006 發表於 2019-10-7 10:44


用到經好彩, 其實GFW用流量一樣可以check到, 遲早都會封!

TOP

2023最新有何方法?

TOP

其實GFW首先都係認port/IP先,之後就認protocol,再認TCP/UDP header,只要你呢3樣野都認唔到/改成其他proto ...
raywan 發表於 2019-10-5 19:02



    你以為佢認唔到就無事?其實佢如果認唔到,但見到不明嘅 traffic 足夠大一樣可以照 block,佢唔需要同你解釋的

TOP