udptunnel is a small program which can tunnel UDP packets bi-directionally over a TCP connection. Its primary purpose (and original motivation) is to allow multi-media conferences to traverse a firewall which allows only outgoing TCP connections.
# udptunnel -s 443 127.0.0.1/51820# udptunnel -c [SERVER PUBLIC IP]/443 127.0.0.1 50001- Remember to open TCP port 443 on the server's firewall
- In the WireGuard client config file, replace the server's public IP (endpoint) with
127.0.0.1:50001
There are different version of
udptunnel. The version that is packaged in Debian does not build on Arch Linux with current gcc.AUR repo: https://aur.archlinux.org/packages/udptunnel-lennox
For me udp2raw worked. It's still maintained and easy to use. It's not packaged for Debian but there are built binaries on Github.