From: Stefan Tatschner <stefan.tatschner@gmail.com>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>, wireguard@lists.zx2c4.com
Subject: Re: [ANNOUNCE] Alpha Snapshots of WireGuard for Android and macOS
Date: Wed, 16 May 2018 09:10:38 +0200 [thread overview]
Message-ID: <6f210e328bdca2d1a1ed1e3714b507ce571abc3f.camel@gmail.com> (raw)
In-Reply-To: <20180515225433.GA26432@zx2c4.com>
Hi Jason,
thanks for your hard work!
On Wed, 2018-05-16 at 00:54 +0200, Jason A. Donenfeld wrote:
> [NEW] WireGuard for Android
> ---------------------------
> You can download the app from the Play Store or from F-Droid. It supports
> adding wg-quick(8)-style .conf files or .zips of them. The app uses the kernel
> module if available, which gives the best performance, stability, and battery
> life, and falls back to the userspace code if it's not available. Download at:
> https://play.google.com/store/apps/details?id=com.wireguard.android
there seems to be sth. weird with the routing rules/tables. The wireguard routes
are not set up properly on my phone.
My wireguard network is 10.80.100.0/24, the wireguard server is 10.80.100.1, the
phone is 10.80.100.27.
On the phone:
lux:/ # ip route
10.80.100.0/24 dev tun0 proto kernel scope link src 10.80.100.27
10.160.151.136/29 dev rmnet_data0 proto kernel scope link src 10.160.151.139
lux:/ # ip route get 10.80.100.1
10.80.100.1 via 10.160.151.140 dev rmnet_data0 src 10.160.151.139 uid 0
cache
-> wrong. this routes via the mobile radio device.
lux:/ # ip route flush cache
lux:/ # ip route get 10.80.100.1
10.80.100.1 via 10.160.151.140 dev rmnet_data0 src 10.160.151.139 uid 0
cache
How can I debug this further?
I have an openvpn server on the same box, in another subnet. This works fine on
the phone:
lux:/ # ip route
10.100.40.0/24 dev tun0 proto kernel scope link src 10.100.40.2
10.160.151.136/29 dev rmnet_data0 proto kernel scope link src 10.160.151.139
lux:/ # ip route get 10.80.100.1
10.80.100.1 dev tun0 src 10.100.40.2 uid 0
cache
-> works, the wireguard subnet is routed via tun0.
Stefan
next prev parent reply other threads:[~2018-05-16 7:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-15 22:54 Jason A. Donenfeld
2018-05-15 23:09 ` Tim Sedlmeyer
2018-05-16 0:24 ` Jason A. Donenfeld
2018-05-16 1:13 ` Jason A. Donenfeld
2018-05-16 7:10 ` Stefan Tatschner [this message]
2018-05-16 7:13 ` Matthias Urlichs
2018-05-16 7:39 ` Stefan Tatschner
2018-05-16 18:11 ` Tommy Bowditch
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=6f210e328bdca2d1a1ed1e3714b507ce571abc3f.camel@gmail.com \
--to=stefan.tatschner@gmail.com \
--cc=Jason@zx2c4.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).