WireGuard Archive on lore.kernel.org
 help / color / Atom feed
* reconnecting client (LTE) with dynamic IPv4
@ 2018-08-03 10:41 Thomas Woyzek
  0 siblings, 0 replies; only message in thread
From: Thomas Woyzek @ 2018-08-03 10:41 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

Hi

I'm trying to run wireguard on an embedded linux device instead of openvpn.

Everything is going as planned, until the client receives a new IP from the
mobile provider (LTE, ipv4), e.g. after a reconnect.

The endpoint, debian router behind nat does not recognize the new IP from
the embedded device. And the "last handashake" is just keep going. Sometimes
it works, but mostly not.
The embedded device use libqmi but over ethernet is the same issue.

Only a restart of the WG interface on the router brings the connection up
again.

What am I doing wrong?

Best regards,

TOM

[-- Attachment #2: Type: text/html, Size: 2565 bytes --]

<div dir="ltr"><div>Hi</div><div><br></div><div><div id="gmail-gt-src-c" class="gmail-g-unit"><div id="gmail-gt-src-c" class="gmail-g-unit">  </div> <div id="gmail-gt-res-c" class="gmail-g-unit"><div id="gmail-gt-res-p"><div id="gmail-gt-res-data"><div id="gmail-gt-res-wrap"><div id="gmail-gt-res-content"><div id="gmail-gt-res-dir-ctr" dir="ltr" class="gmail-trans-verified-button-small"><span id="gmail-result_box" class="gmail-" lang="en"><span>I&#39;m trying to run wireguard on an embedded linux device <span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">instead of</span></span> openvpn.</span><br><br><span class="gmail-">Everything is going as planned, until the client receives a new IP from the mobile provider (LTE, ipv4), e.g.</span> <span>after a reconnect.</span><br></span></div><div dir="ltr" class="gmail-trans-verified-button-small"><span id="gmail-result_box" class="gmail-" lang="en"><br></span></div><div dir="ltr" class="gmail-trans-verified-button-small"><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">The endpoint, debian router behind nat does not recognize the new IP from the embedded device. And the &quot;last handashake&quot; is <span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">just keep going</span></span>. <span id="gmail-result_box" class="gmail-" lang="en"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">Sometimes it works</span></span></span>, but <span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">mostly not</span></span>.<br></span></span></div><div dir="ltr" class="gmail-trans-verified-button-small"><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">The embedded device use libqmi but over ethernet is the same issue.</span><br><br><span class="gmail-">Only a restart of the WG interface on the router brings the connection up again.</span></span></div></div></div></div></div></div><br>  </div> <div id="gmail-gt-res-c" class="gmail-g-unit"><div id="gmail-gt-res-p"><div id="gmail-gt-res-data"><div id="gmail-gt-res-wrap"><div id="gmail-gt-res-content"><div id="gmail-gt-res-dir-ctr" dir="ltr" class="gmail-trans-verified-button-large"><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">What am I doing wrong?</span></span></div></div></div></div></div></div></div><div><br></div><div>Best regards,</div><div><br></div><div>TOM<br></div><div><div><br></div><div><br></div><div><br></div></div></div>

^ permalink raw reply	[flat|nested] only message 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 --
2018-08-03 10:41 reconnecting client (LTE) with dynamic IPv4 Thomas Woyzek

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