untun icon indicating copy to clipboard operation
untun copied to clipboard

Ability to pass "--protocol http2" to cloudflared

Open lephuongbg opened this issue 1 year ago • 4 comments

Describe the feature

The default quic protocol that cloudflared uses doesn't work reliably.

As a workaround, we usually pass --protocol http2 to cloudflared to instruct it to use http2 for tunneling instead.

Would be great if we can do the same thing with untun CLI. It's a great wrapper and simplify thing a lot comparing to using cloudflared manually.

Additional information

  • [ ] Would you be willing to help implement this feature?

lephuongbg avatar Mar 20 '24 08:03 lephuongbg

Let's track in #48 to support any kind of extra args

TheAlexLichter avatar Dec 14 '24 12:12 TheAlexLichter

(reopening because while a generic 1-1 mapping might make sense as a feature, untun is still an abstraction helper. not essentially wrapper to cloudflare workers in the future)

pi0 avatar Dec 15 '24 20:12 pi0

@pi0 wanna close #48 then instead or allow both?

TheAlexLichter avatar Dec 16 '24 08:12 TheAlexLichter

both are valid imo :) -- like any other unjs layer, we prefer and provide abstraction (this issue) + full control (other issue) over lower layer for advanced/fine-gained custom needs abstraction might not cover.

pi0 avatar Dec 16 '24 11:12 pi0