openwrt route_allowed_ips is inprecise
Dan Lüdtke
mail at danrl.com
Tue Dec 20 15:51:24 CET 2016
> On 20 Dec 2016, at 14:33, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> On Tue, Dec 20, 2016 at 11:15 AM, Dan Lüdtke <mail at danrl.com> wrote:
>> New environment, build from latest sources this morning. Can't reproduce. I can't see duplicate routes. Static routes were added via LuCI to represent a typical user's approach.
>>
>> Can we drop this discussion until we can reproduce the problem?
>
> That's a weird way of putting it, because you != we.
Sorry, not a native speaker.
> config wireguard_wg
> option public_key '0Nz4n2wdhDJtFbkdIFqlJ4vkKIGFgBVQPxyJ0XWE31o='
> list allowed_ips '10.200.100.1/32'
> option route_allowed_ips '1'
> config interface 'wgnet'
> option proto 'static'
> option ifname 'wg'
> option ipaddr '10.200.100.4/24'
> -->
> root at mipsnet:~# ip r
> 10.200.100.0/24 dev wg src 10.200.100.4
> 10.200.100.1 dev wg
I see what you mean now. Don't see a real problem there despite ugliness, but let me think of a solution. May not be my highest priority right now, though.
Cheers,
Dan
More information about the WireGuard
mailing list