From: Siyuan Ren <netheril96@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: Bug report: WireGuard iOS prioritizes IPv4 over IPv6
Date: Thu, 2 Jan 2020 16:40:53 +0800 [thread overview]
Message-ID: <CAPhtH6a+0s0qQirQ4eXNN5vhmXios8Ln0o=j06tb8EZKPNAyKQ@mail.gmail.com> (raw)
I am using WireGuard on my iPhone, and the endpoint is specified by a
domain name that has both AAAA and A record. When I turn on WireGuard
in a network with dual IPv6 and IPv4, I find out that WireGuard
chooses IPv4 by executing "wg" on my server. If I explicitly set the
endpoint as IPv6 address, WireGuard works just fine, so it is not a
misconfiguration on my server.
Most operating systems prioritize IPv6 over IPv4, so it is baffling
why WireGuard iOS goes the other way. More importantly, this is not a
theoretical discussion for me: in my case, IPv6 has better performance
due to less congestion (as fewer people utilize it). I also have an
IKEv2/IPSec VPN configured on the same server, and it performs better
because it always prioritize IPv6.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
next reply other threads:[~2020-01-09 6:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-02 8:40 Siyuan Ren [this message]
2020-02-17 15:44 Maurice Walker
2020-02-23 10:41 ` Matthias Urlichs
2020-02-20 21:24 Maurice Walker
2020-02-23 16:25 Maurice Walker
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='CAPhtH6a+0s0qQirQ4eXNN5vhmXios8Ln0o=j06tb8EZKPNAyKQ@mail.gmail.com' \
--to=netheril96@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).