Development discussion of WireGuard
 help / color / mirror / Atom feed
* Issues with WireGuard on Android (with kernel module)
@ 2018-04-30 13:24 Davide Depau
  2018-04-30 17:34 ` Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: Davide Depau @ 2018-04-30 13:24 UTC (permalink / raw)
  To: wireguard

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

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

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

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

end of thread, other threads:[~2018-05-04  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-30 13:24 Issues with WireGuard on Android (with kernel module) Davide Depau
2018-04-30 17:34 ` Jason A. Donenfeld
2018-05-04  9:49   ` Davide Depau

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).