TCP Wireguard with socat

Matthias Urlichs matthias at urlichs.de
Mon Mar 12 18:05:27 CET 2018


On 12.03.2018 16:44, Tim Sedlmeyer wrote:
> On the server side of the connection:
>
> socat -d -d TCP-LISTEN:443,reuseaddr TUN:192.168.255.1/24,up
> socat TCP:server_address:443 TUN:192.168.255.2/24,up

This works if you're lucky, and as long as both sides send few packets.

As soon as your TCP queue fills up or your TCP connection has any packet
loss, all bets are off.

-- 
-- Matthias Urlichs




More information about the WireGuard mailing list