All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Urlichs <matthias@urlichs.de>
To: Tim Sedlmeyer <tim@sedlmeyer.org>,
	"wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: Re: TCP Wireguard with socat
Date: Mon, 12 Mar 2018 18:05:27 +0100	[thread overview]
Message-ID: <7e3f18b0-cd72-b786-d38e-63cc2ec2f502@urlichs.de> (raw)
In-Reply-To: <CAK_h9uGiDxZN2rHX=3d-PtEyjYDraOCr7G_GgA+DnKy3jb-UZQ@mail.gmail.com>

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

  parent reply	other threads:[~2018-03-12 16:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-09 16:41 TCP Wireguard with socat Gianluca Gabrielli
2018-03-09 21:45 ` Matthias Urlichs
2018-03-12  9:15   ` Gianluca Gabrielli
2018-03-12 11:30     ` Matthias Urlichs
2018-03-12 14:37       ` Gianluca Gabrielli
2018-03-12 15:14         ` Gianluca Gabrielli
2018-03-12 15:44           ` Tim Sedlmeyer
2018-03-12 16:45             ` Gianluca Gabrielli
2018-03-12 17:05             ` Matthias Urlichs [this message]
2018-03-12 18:47         ` Matthias Urlichs
2018-03-13  9:19           ` Gianluca Gabrielli
2018-03-13 13:43             ` Matthias Urlichs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7e3f18b0-cd72-b786-d38e-63cc2ec2f502@urlichs.de \
    --to=matthias@urlichs.de \
    --cc=tim@sedlmeyer.org \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.