zaneschepke / wgtunnel

An alternative Android client app for WireGuard VPN
https://zaneschepke.com/wgtunnel-docs
MIT License
743 stars 41 forks source link

[FEATURE] - wstunnel support #256

Open satmandu opened 2 months ago

satmandu commented 2 months ago

Is your feature request related to a problem? Please describe. Tunneling through websockets using https://github.com/erebe/wstunnel would help in bypassing port based blocking. Using wstunnel with wireguard currently requires a complicated configuration with 3 apps working together, when ideally the wireguard app would perhaps just include the wstunnel binary and have an exposed configuration interface to use it.

Describe the solution you'd like wstunnel included with wgtunnel, with a built-in socks client to make use of it.

Describe alternatives you've considered The alternative is currently hairy.

vincent1890 commented 2 months ago

😍😍😍😍😍❤❤❤❤❤❤❤

zaneschepke commented 2 months ago

Thank you for the feature request. I'll look into this!

deyloTT commented 1 month ago

Is your feature request related to a problem? Please describe. Tunneling through websockets using https://github.com/erebe/wstunnel would help in bypassing port based blocking. Using wstunnel with wireguard currently requires a complicated configuration with 3 apps working together, when ideally the wireguard app would perhaps just include the wstunnel binary and have an exposed configuration interface to use it.

Describe the solution you'd like wstunnel included with wgtunnel, with a built-in socks client to make use of it.

Describe alternatives you've considered The alternative is currently hairy.

Hahaha i literally just came to post this exact thing. The link you provided for the configuration, is that how you currently achieve it with wgtunnel? I am going to try it out.

satmandu commented 1 month ago

The info I have on making this work currently is in this thread: https://github.com/erebe/wstunnel/issues/292

deyloTT commented 1 month ago

The info I have on making this work currently is in this thread: erebe/wstunnel#292

Thanks, I just checked it out. Hopefully wgtunnel implements this into the app.

So currently for it to work on your phone, you have to issue the following command in termux?

.\wstunnel client -c 10 -L 'udp://51820:localhost:51820?timeout_sec=0' wss://vpn.server.com:443 --tls-sni-override vpn.server.com

deyloTT commented 1 month ago

Hey, any update for websocket and SNI/bughost support in WGtunnel? I'm willing to be a tester also.