MatsuriDayo / NekoBoxForAndroid

NekoBox for Android / sing-box / universal proxy toolchain for Android
https://matsuridayo.github.io/
Other
9.96k stars 856 forks source link

BUG: NekoBoxForAndroid is not working with VLESS+OpenVPN+UDP [proxy mode only] #437

Open Cancer-zern opened 8 months ago

Cancer-zern commented 8 months ago

Describe the problem

I have Windows application Nekoray and configuration for [VLESS-Reality] OpenVPN working via socks5 proxy by 1194/udp not any issues. The same configuration Xray+OpenVPN on Windows is working fine

When I'm configuring on NekoBoxForAndroid proxy mode only OpenVPN is not working with UDP and the openvpn application is not connecting NekoBoxForAndroid+[VLESS-Reality]+[OpenVPN 1194/udp] is no working NekoBoxForAndroid+[Shadowsocks-2022]+[OpenVPN 1194/udp] is working fine

[VLESS-Reality] configuration { "_v": 0, "addr": "$ip-address", "flow": "xtls-rprx-vision", "name": "ProfileName1", "pass": "$uuid", "port": 443, "stream": { "alpn": "h2", "ed_len": 0, "insecure": false, "mux_s": 0, "net": "tcp", "pac_enc": "xudp", "pbk": "$PubKey", "sec": "tls", "sid": "$ShortId", "sni": "www.microsoft.com", "utls": "chrome" } }

[Shadowsocks-2022] { "_v": 0, "addr": "", "method": "2022-blake3-chacha20-poly1305", "name": "ProfileName2", "pass": "$Key", "port": 23 }

[VLESS] connection working with OpenVPN+udp configuration working on:

  1. Windows [Nekoray app cores: xray/sign-box]
  2. Linux [Xray-core/sign-box]
  3. Openwrt [Xray-core/sign-box]
  4. Windows [Xray-core]

How to reproduce

  1. NekoBoxForAndroid v1.2.9 Configure VLESS, App settings [VPN mode to Proxy Mode only]
  2. Add proxy for OpenVPN application as socks5 127.0.0.1:2080
  3. Connect NekoBoxForAndroid and then OpenVPN connection.

log

NekoBoxForAndroid v1.2.9 Android 13 and 14 OpenVPN for Android v0.7.49

Cancer-zern commented 8 months ago

[Android 13-14]+[v2rayNG1.8.5]+[ProxyMode]+[VLESS] [OpenVPN for Android v0.7.49] via UDP is working fine

NekoBoxForAndroid 1.2.9 and 1.3.0 NekoBoxForAndroid+[Shadowsocks-2022]+[ProxyMode]+[OpenVPN for Android v0.7.49 - 1194/udp] is working fine NekoBoxForAndroid+[VLESS-Reality]+[ProxyMode]+[OpenVPN for Android v0.7.49 - 1194/udp] is no working