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.19k stars 439 forks source link

Question about glider support torjan over websocket #356

Closed egg1234 closed 1 year ago

egg1234 commented 2 years ago

If glider support torjan over websocket like below config?

glider -verbose -listen=ws://:10000/wspath,trojanc://PASSWORD:1234@

nginx reverse proxy config:

location /wspath { proxy_pass http://127.0.0.1:10000; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; }

But this server config can not work with V2rayN client no matter what to use, xray-core or v2fly-core.

egg1234 commented 1 year ago

I figured out is my fault.

The command below should be the correct one.

glider -verbose -listen=ws://:10000/wspath,trojanc://PASSWORD@