先講返我d device先,
我係用 raspberry pi 3B+ (raspbian) 黎起個 v2ray server (v4.18) 的,
手機 v2ray cl ...
mankowk 發表於 2019-5-7 18:58



    如果可以你post server config.json比我睇下
想知道你outgoing port 有無多過1000以上
  1. "port": "8000-50000"
複製代碼

TOP

本帖最後由 raywan 於 2019-5-8 00:05 編輯

最後,update 下rpi kernel去到最新
  1. sudo rpi-update
複製代碼
一路都好正常同好穩定,一直都未試過你個問題

TOP

我都沒有問題

TOP

本帖最後由 mankowk 於 2019-5-9 18:47 編輯

小弟簡單咁加左個 mkcp 入去個 inbounds 度,
之後在香港試, 手機whatsapp 語音通話 去 人地個手機whatsapp度..

1. 手機用 v2rayNG, [手動鍵入(Vmess)]後, whatsapp語音通話 正常使用.
2. 手機用 BifrostV [手動設置(Vmess)]後, whatsapp語音通話 不能聽到對方說話等問題.
3. 手機用 BifrostV [import下面既 client side config.json]後, whatsapp語音通話 同樣是不能聽到對方說話等問題.

原諒我只想用 BifrostV, 因為可以寫定晒個 config.json, 然後 import from url入去, 極之方便.
睇黎個問題是在 BifrostV度...
  1.   v2ray Server Side config.json
  2. {
  3.   "inbounds": [
  4.     {
  5.       "port": 10009,
  6.       "protocol": "vmess",
  7.       "settings": {
  8.         "clients": [
  9.           {
  10.             "id": "59xxx0b6-bxx0-8xx6-9xxb-8cxxe27dxx0e",
  11.             "level": 1,
  12.             "alterId": 64
  13.           }
  14.         ]
  15.       },
  16.       "streamSettings": {
  17.         "network": "mkcp",
  18.         "kcpSettings": {
  19.           "uplinkCapacity": 5,
  20.           "downlinkCapacity": 100,
  21.           "congestion": true,
  22.           "header": {
  23.             "type": "none"
  24.           }
  25.         }
  26.       }
  27.     }
  28.   ],
  29.   "outbounds": [
  30.     {
  31.       "protocol": "freedom",
  32.       "settings": {},
  33.       "tag": "direct"
  34.     },
  35.     {
  36.       "protocol": "blackhole",
  37.       "settings": {},
  38.       "tag": "blocked"
  39.     }
  40.   ],
  41.   "routing": {
  42.     "domainStrategy": "IPIfNonMatch",
  43.     "rules": [
  44.       {
  45.         "type": "field",
  46.         "ip": [
  47.           "geoip:private"
  48.         ],
  49.         "outboundTag": "blocked"
  50.       }
  51.     ]
  52.   }
  53. }
複製代碼
  1.   v2ray Client Side config.json
  2. {
  3.   "inbounds": [
  4.     {
  5.       "port": 1080,
  6.       "listen": "127.0.0.1",
  7.       "protocol": "socks",
  8.       "settings": {
  9.         "auth": "noauth"
  10.       }
  11.     }
  12.   ],
  13.   "outbounds": [
  14.     {
  15.       "protocol": "vmess",
  16.       "settings": {
  17.         "vnext": [
  18.           {
  19.             "address": "abc.com",
  20.             "port": 10009,
  21.             "users": [
  22.               {
  23.                 "id": "59xxx0b6-bxx0-8xx6-9xxb-8cxxe27dxx0e",
  24.                 "alterId": 64,
  25.                 "level": 1
  26.               }
  27.             ]
  28.           }
  29.         ]
  30.       },
  31.       "streamSettings": {
  32.         "network": "mkcp",
  33.         "kcpSettings": {
  34.                   "uplinkCapacity": 5,
  35.                   "downlinkCapacity": 100,
  36.                   "congestion": true,
  37.                   "header": {
  38.                     "type": "none"
  39.                   }
  40.         }
  41.       },
  42.       "mux": {
  43.         "enabled": true,
  44.         "concurrency": 8
  45.       }
  46.     },
  47.     {
  48.       "protocol": "freedom",
  49.       "settings": {},
  50.       "tag": "direct"
  51.     },
  52.     {
  53.       "protocol": "blackhole",
  54.       "settings": {},
  55.       "tag": "blocked"
  56.     }
  57.   ],
  58.   "dns": {
  59.     "servers": [
  60.       "8.8.8.8",
  61.       "1.1.1.1",
  62.       "114.114.114.114",
  63.       "8.8.4.4",
  64.       "localhost"
  65.     ]
  66.   },
  67.   "routing": {
  68.     "domainStrategy": "IPIfNonMatch",
  69.     "rules": [
  70.       {
  71.         "type": "field",
  72.         "domain": [
  73.                   "geosite:cn"
  74.                 ],
  75.         "outboundTag": "direct"
  76.       },
  77.       {
  78.         "type": "field",
  79.         "ip": [
  80.                   "geoip:cn",
  81.                   "geoip:private"
  82.                 ],
  83.         "outboundTag": "direct"
  84.       }
  85.     ]
  86.   }
  87. }
複製代碼

TOP

小弟簡單咁加左個 mkcp 入去個 inbounds 度,
之後在香港試, 手機whatsapp 語音通話 去 人地個手機whatsapp ...
mankowk 發表於 2019-5-9 18:43


其實v2rayng都可以import config.json入去,唔使打入去呀
仲有v2rayng好用過BifrostV,最少connect左可以睇到ping time

TOP

小弟簡單咁加左個 mkcp 入去個 inbounds 度,
之後在香港試, 手機whatsapp 語音通話 去 人地個手機whatsapp ...
mankowk 發表於 2019-5-9 18:43


其實v2rayng都可以import config.json入去,唔使打入去呀
仲有v2rayng好用過BifrostV,最少connect左可以睇到ping time
   
個問題你係得一個port出入都係10009
for your ref server config.json
  1. {
  2. "log" : {    "access": "/var/log/v2ray/access.log",
  3.     "error": "/var/log/v2ray/error.log",
  4.     "loglevel": "warning"
  5.   },
  6.   "inbound": {
  7.     "port": 10086,
  8.     "protocol": "vmess",
  9.     "settings": {
  10.       "clients": [
  11.         {
  12.           "id": "dadd7dasb-bf3b-44ef-80f2-7074fdas460dc",
  13.           "level": 0,
  14.           "security": "chacha20-poly1305",
  15.           "alterId": 97
  16.         }
  17.       ]
  18.     }
  19.   },
  20. "dns": {
  21.     "servers": [
  22.       "192.168.1.1",
  23.       "192.168.1.3"
  24.     ]
  25.   },

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

  31. "inboundDetour": [
  32.         {
  33.             "protocol": "vmess",
  34.             "port": "8000-50000",
  35.             "tag": "vmess-detour-328655",
  36.             "settings": {},
  37.             "allocate": {
  38.                 "strategy": "random",
  39.                 "udp": true,
  40.                 "concurrency": 128,
  41.                 "refresh": 3
  42.             },
  43.             "streamSettings": {
  44.                 "network": "mkcp",

  45. "kcpSettings": {
  46.         "mtu": 1360,
  47.         "tti": 10,
  48.         "uplinkCapacity": 100,
  49.         "downlinkCapacity": 100,
  50.         "congestion": true,
  51.         "readBufferSize": 32,
  52.         "writeBufferSize": 32,
  53.         "header": {
  54.         "type": "none"
  55.         }
  56.       }
  57.      }
  58.         }
  59.     ],

  60.         "inboundDetour":[
  61.         {
  62.          }
  63.     ],

  64.   "outbound": {
  65.     "protocol": "freedom",
  66.     "settings": {}
  67. },

  68.   "routing": {
  69.         "strategy":"rules",
  70.         "settings":{
  71.             "rules":[
  72.                 {
  73.                     "type":"field",
  74.                     "inboundTag":[
  75.                         "tg-in"
  76.                     ],
  77.                     "outboundTag":"tg-out"
  78.                 },
  79.                 {
  80.                     "type":"field",
  81.           "ip": [
  82.             "0.0.0.0/8",
  83.             "10.0.0.0/8",
  84.             "100.64.0.0/10",
  85.             "127.0.0.0/8",
  86.             "169.254.0.0/16",
  87.             "172.16.0.0/12",
  88.             "198.18.0.0/15",
  89.             "198.51.100.0/24",
  90.             "203.0.113.0/24",
  91.             "::1/128",
  92.             "fc00::/7",
  93.             "fe80::/10"
  94.           ],
  95.           "outboundTag": "blocked"
  96.         }
  97.       ]
  98.     }
  99.   }
  100. }
複製代碼

TOP

我無打算用 dynamic ports,
開一個 port 俾 mkcp用, 已經可以用到....

TOP

回覆 17# mankowk


    係唔係改左 mkcp 就唔係 WebSocket+TLS+Web ?

TOP

回覆 18# ac97


    在 Server 那边的 v2ray config.json 內,
是可以建立多個 接入點(inbounds),

我是 mkcp, 和 websocket+tls+web 都有寫上,
什似乎, 我寫上一個 mkcp 外, 還寫左兩個 websocket+tls+web 的 inbounds.

當然喇, 我都試過只有寫上一個 mkcp 去測試 v2rayNG 和 BifrostV ...

TOP