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
I've added issue and pull request.
@testingnic My patch is trivial, and it fixes a well-known problem with ipv6. You can email the maintainer of your distro (Ubuntu, OpenWrt, etc) and it will add this patch for sure. I will also send emails to Ubuntu and OpenWRT distro so they may release a patched version of udptunnel soon.
For now you can't do anything except
net.ipv6.bindv6only = 1
, but please don't do it.