That does work, thanks! Apologies for the derail.

From: Jason A. Donenfeld <Jason@zx2c4.com>
Sent: Thursday, July 5, 2018 12:24 PM
To: denis@dkisselev.net
Cc: Eric Kuck; WireGuard mailing list
Subject: Re: "Exclude Private IPs" in Android App
 
Hi Denis,

> I get "Error bringing up tunnel: Bad Address" if I try to set Allowed IP's to "10.5.0.1/24,192.168.1.0/13" but it works with "0.0.0.0/0".

User error. This fails because:

192.168.1.0 & (1 << (32 - 13)) != 192.168.1.0
and
10.5.0.1 & (1 << (32 - 24) != 10.5.0.1

Try instead using 192.168.0.0/13 and 10.5.0.0/24.

Jason