Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Matthias Urlichs <matthias@urlichs.de>
To: wireguard@lists.zx2c4.com
Subject: Re: roaming and ddns dynamic ip
Date: Wed, 22 Nov 2017 17:39:13 +0100	[thread overview]
Message-ID: <1894f6f6-25bf-206b-24da-59187e6114fe@urlichs.de> (raw)
In-Reply-To: <CAC6SzHKzraOBNh0B9C9PUojSJy2r2XvfqehzEnmzzK5GJeuG6w@mail.gmail.com>

On 22.11.2017 17:00, d tbsky wrote:
> when client is behind firewall via nat to internet, and server has
> dynamic ip, I don't think keepalive will help. since the changed
> server can not connect to client, it needs client to initial the
> connection. under openvpn, keepalive can detect broken link and try to
> restart itself, then client can reconnect to server automatically.

That situation calls for userspace (on the client) to monitor the
connection and update the peer address, if it changed.

The kernel side's job would be to be sufficiently monitor-able via
netlink – polling is evil – so that a userspace tool can actually do this.

-- 
-- Matthias Urlichs

  reply	other threads:[~2017-11-22 16:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22 10:53 d tbsky
2017-11-22 11:59 ` Jason A. Donenfeld
2017-11-22 12:51   ` d tbsky
2017-11-22 13:14     ` Jason A. Donenfeld
2017-11-22 15:49     ` Lonnie Abelbeck
2017-11-22 16:00       ` d tbsky
2017-11-22 16:39         ` Matthias Urlichs [this message]
2017-11-22 17:28         ` Bruno Wolff III

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=1894f6f6-25bf-206b-24da-59187e6114fe@urlichs.de \
    --to=matthias@urlichs.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).