From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: bounce+bb36c1.b0ed2-wireguard=lists.zx2c4.com@depau.eu Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id c8739d7c for ; Mon, 30 Apr 2018 13:23:19 +0000 (UTC) Received: from mail30.static.mailgun.info (mail30.static.mailgun.info [104.130.122.30]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 6c567932 for ; Mon, 30 Apr 2018 13:23:19 +0000 (UTC) Sender: davide@depau.eu Received: by mail-ot0-f174.google.com with SMTP id o8-v6so663789ota.12 for ; Mon, 30 Apr 2018 06:24:46 -0700 (PDT) MIME-Version: 1.0 From: Davide Depau Date: Mon, 30 Apr 2018 13:24:36 +0000 Message-ID: Subject: Issues with WireGuard on Android (with kernel module) To: wireguard@lists.zx2c4.com Content-Type: multipart/alternative; boundary="0000000000000b0bc9056b10c7a5" List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0000000000000b0bc9056b10c7a5 Content-Type: text/plain; charset="UTF-8" Hello, I set up yesterday WireGuard on my OpenWrt router. I configured it on my computer and it works - everything is setup correctly and traffic is forwarded through WireGuard to the router and then to the outside. On Android, after enabling the interface using the app or with wg-quick manually, network is unreachable. I cannot even ping IPs on the same LAN as the WireGuard interface. I'm not sure how to find the routes as Android is a bit special. As I said in the subject, my kernel (NetHunter kernel for OnePlus 3T) has the module builtin. Router conf (interface IP: 192.168.2.1/24): [Interface] ListenPort = 4500 PrivateKey = ... [Peer] PublicKey = ... AllowedIPs = 192.168.2.196/32 [Peer] PublicKey = ... AllowedIPs = 192.168.2.4/32 Computer conf (working): [Interface] Address = 192.168.2.196/32 PrivateKey = ... DNS = 1.1.1.1 [Peer] PublicKey = ... AllowedIPs = 0.0.0.0/0 Endpoint = (hostname):4500 PersistentKeepalive = 25 Phone conf (generated by app, not working): [Interface] Address = 192.168.2.4/24 DNS = 1.1.1.1 PrivateKey = ... [Peer] AllowedIPs = 0.0.0.0/0 Endpoint = (hostname):4500 PersistentKeepalive = 25 PublicKey = ... Any hints? Thank you --0000000000000b0bc9056b10c7a5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
I set up yesterday WireGuard on my O= penWrt router. I configured it on my computer and it works - everything is = setup correctly and traffic is forwarded through WireGuard to the router an= d then to the outside.
On Android, after enabling the interf= ace using the app or with wg-quick manually, network is unreachable. I cann= ot even ping IPs on the same LAN as the WireGuard interface.
I= 9;m not sure how to find the routes as Android is a bit special.
= As I said in the subject, my kernel (NetHunter kernel for OnePlus 3T) has t= he module builtin.

Router conf (interface IP: = 192.168.2.1/24):

=
[Interface]
ListenPort =3D 4500
PrivateKey =3D ...

[Peer]=
PublicKey =3D ...
AllowedIPs =3D 192.168.2.196/32

[Peer]
PublicKey =3D ...
AllowedIPs =3D = 192.168.2.4/32


Computer conf (working):

[Interf= ace]
Address =3D 192.168.2.196/32
PrivateKey =3D ...
DNS =3D 1.1.1.1

[Peer]
PublicKey =3D .= ..
AllowedIPs =3D
0.0.0.0/0
Endpoint= =3D (hostname):4500
PersistentKeepalive =3D 25


Phone conf (generated by app, not working):

<= /div>
[Interface]
Address =3D 192.= 168.2.4/24
DNS =3D 1.1.1.1
PrivateKey =3D ...

[Peer]
Al= lowedIPs =3D 0.0.0.0/0
Endpoint =3D (ho= stname):4500
PersistentKeepalive =3D 25
PublicKey =3D ...


Any hints?
Thank you
--0000000000000b0bc9056b10c7a5--