ViRb3 / wgcf

🚤 Cross-platform, unofficial CLI for Cloudflare Warp
MIT License
6.29k stars 698 forks source link

How to connect via protocol TCP? #392

Closed sousecode closed 7 months ago

sousecode commented 8 months ago

Hi everybody. I have a question: is it possible to make a warp connection via the TCP protocol? I use warp and the video quality is bad on Instagram, but not through third-party VPNs. The problem is not speed, I think it’s because of the UDP protocol, information is lost during data transfer. TCP protocol delivers information intact. Cloudflare website lists only UPD protocols (2408, 500, 1701, 4500): https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/deployment/firewall/#warp-ingress-ip

Screenshot_2024-03-16-13-05-58-624_com android chrome Screenshot_2024-03-16-13-17-19-536_com android chrome

nwpr commented 7 months ago

UDP shouldn’t be the problem here. Even if the tunnel packets would get lost, inside the tunnel you’re using HTTP over TCP. So any lost packets whose protocol normally supports retransmissions will still work as expected.

WG over TCP would actually most likely impact the connection in a negative way. Therefore it’s not possible.