heiher / hev-socks5-tunnel

A high-performance tun2socks for Linux/Android/FreeBSD/macOS/iOS/WSL2 (IPv4/IPv6/TCP/UDP)
MIT License
923 stars 165 forks source link

[Feature Request] UDPGW #184

Open tormentous opened 6 days ago

tormentous commented 6 days ago

UDP Gateway (UDPGW) is a daemon that enables UDP packet forwarding over SSH tunnels. It's particularly useful for applications that rely on UDP, such as DNS, VoIP, and online gaming, when you need to route their traffic through an SSH tunnel. How it works:

heiher commented 6 days ago

If the UDPGW requires running a daemon on the SSH server, I recommend replacing it with hev-socks5-server. You can then map the server-side hev-socks5-server to your local host via SSH's TCP port forwarding. This setup allows hev-socks5-tunnel to relay UDP over TCP through the SSH tunnel.