[HACK] UDP tunneling over TCP for WireGuard

Matthias Urlichs matthias at urlichs.de
Wed Apr 18 23:07:34 CEST 2018


Hi,
> /usr/bin/socat -t600 -T600 -d -d UDP4-LISTEN:51821 tcp4:ENDPOINT_IP:

socat does not mark packet boundaries, which are essential. Thus, this
will not and can never work reliably.

Use a program that adds packet boundaries (i.e. packet length words, PPP
encoding, whatever).
socat alone cannot do this.

-- 
-- Matthias Urlichs



More information about the WireGuard mailing list