nadoo / glider

glider is a forward proxy with multiple protocols support, and also a dns/dhcp server with ipset management features(like dnsmasq).
GNU General Public License v3.0
3.18k stars 437 forks source link

how to covert vmess base64 url correctly? #397

Closed zhenyu2025 closed 10 months ago

zhenyu2025 commented 11 months ago

I have some vmess url embedded config with base64, but glider does not support it, I follow this schema to covert vmess url

vmess://[security:]uuid@host:port[?alterID=num]

and the data field defined

https://github.com/2dust/v2rayN/wiki/%E5%88%86%E4%BA%AB%E9%93%BE%E6%8E%A5%E6%A0%BC%E5%BC%8F%E8%AF%B4%E6%98%8E(ver-2)

image

the vmess url can work in the V2rayN client to access google, but it can't work in my glider config. and also I have been tried other protocols like ‘ss’, it not work correctly too. do I miss something?

image

zhenyu2025 commented 10 months ago

ok, I know what I missing. the proxy needs to work with web socket protocol like below

https://github.com/nadoo/glider/blob/master/config/glider.conf.example#L142