From: Laszlo KERTESZ <laszlo.kertesz@gmail.com>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Clients lose connection until the interface is restarted somehow if server changes IP address
Date: Wed, 23 Jan 2019 15:20:33 +0200 [thread overview]
Message-ID: <CANcuY=rHWH7=yOXSv5iMcnN_8tsX4_MAJdorsTZLfuF7ZD1j7g@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 528 bytes --]
Hi,
I have a wireguard server that runs on a computer that has a dynamic real
ip address. It also has a dynamic DNS address that is updated if the IP
changes.
The clients connecting to it work but if the ip address is changed, they
will still try to connect the old IP address. If i restart the wireguard
interface (ip link up/down etc) the connection is established again.
The solution would be that in case of connection loss the DNS name to be
updated periodically instead of just trying the old address.
Can this be done?
[-- Attachment #1.2: Type: text/html, Size: 633 bytes --]
[-- Attachment #2: Type: text/plain, Size: 148 bytes --]
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
reply other threads:[~2019-01-23 13:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CANcuY=rHWH7=yOXSv5iMcnN_8tsX4_MAJdorsTZLfuF7ZD1j7g@mail.gmail.com' \
--to=laszlo.kertesz@gmail.com \
--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).