WireGuard Archive on lore.kernel.org
 help / Atom feed
* Clients lose connection until the interface is restarted somehow if server changes IP address
@ 2019-01-23 13:20 Laszlo KERTESZ
  0 siblings, 0 replies; 1+ messages in thread
From: Laszlo KERTESZ @ 2019-01-23 13:20 UTC (permalink / raw)
  To: WireGuard mailing list

[-- 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 --]

<div dir="ltr"><div>Hi,</div><div><br></div><div>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.</div><div>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.</div><div><br></div><div>The solution would be that in case of connection loss the DNS name to be updated periodically instead of just trying the old address.</div><div>Can this be done?<br></div></div>

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 13:20 Clients lose connection until the interface is restarted somehow if server changes IP address Laszlo KERTESZ

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox