koding / tunnel

Tunnel proxy package in Go
BSD 3-Clause "New" or "Revised" License
322 stars 71 forks source link

udp connections #27

Open sheerun opened 8 years ago

sheerun commented 8 years ago

Hey,

I'm in need of proxying udp ports (serf uses it for gossip protocol). Do you maybe support them?

mmatczuk commented 8 years ago

UDP is not supported. I think you need some other technology (like https://github.com/astroza/udptunnel) that is UDP backed otherwise you would push UDP or at least UDP data over TCP. Usually when a protocol is based on UPD there is a reason for it.

sheerun commented 8 years ago

Tunneling via TCP is fine, it's only a channel between client and tunneling server, the tunneling server can forward / receive udp packets normally, and that's what matters.

rjeczalik commented 8 years ago

client and tunneling server

@sheerun If you want to push your data to your local server from tunnel client over udp, then it eventually will be supported - I was planning to add support for user-provided proxy functions.