From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: matthias@urlichs.de Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id c4068324 for ; Mon, 12 Mar 2018 16:56:06 +0000 (UTC) Received: from netz.smurf.noris.de (mail.smurf.noris.de [213.95.149.21]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id dc652f30 for ; Mon, 12 Mar 2018 16:56:06 +0000 (UTC) Subject: Re: TCP Wireguard with socat To: Tim Sedlmeyer , "wireguard@lists.zx2c4.com" References: <88b9e6e0-1f38-1a20-3fac-372e96f847a3@urlichs.de> <6UEIqzXriyGvMmVuBKcld9Fp5XzM-oCiMdJtB514oZVXhuFiCQqQtcOkFmqWUkkpz4WHhr9_9q7M9BRpDwdTET41cDJCypfU7vv7jxpJfyk=@protonmail.com> From: Matthias Urlichs Message-ID: <7e3f18b0-cd72-b786-d38e-63cc2ec2f502@urlichs.de> Date: Mon, 12 Mar 2018 18:05:27 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. --=20 -- Matthias Urlichs