opencoff / go-tunnel

TLS/SSL Tunnel - A modern STunnel replacement written in golang
GNU General Public License v2.0
293 stars 42 forks source link

Support UDP over TLS1.3 tunnel? #6

Open 0neday opened 3 years ago

0neday commented 3 years ago

We know go-tunnel could connect by Quic/TLS tunnel. But we aslo find udp could be limited by QoS by network Carrier. so do you any plan support udp over tls?

It is very useful to VPN based on udp, such as wireguard.

I search find this project , but the code is very bad

opencoff commented 3 years ago

I don't understand the use case; are you trying to send clear-text UDP over TLS (TCP)? If so, this is a major change to the code; I need to think about doing this cleanly ..

As a workaround - if your software supports SOCKS, you can configure it to send "UDP" over socks and use go-tunnel to do SOCKS over TLS ..

0neday commented 3 years ago

clear-text UDP

Yes, plain udp over TLS 1.3