Control: tags 921017 + moreinfo unreproducible

Hi Piotr--

On Thu 2019-01-31 18:15:04 +0100, Piotr Ożarowski wrote:
> I have multiple peers defined in /etc/wireguard/wg0.conf
> but setting AllowedIPs doesn't fully work for some of them
> if I use `wg setconf`… and works perfectly fine if I do this
> "manually" via `wg set wg0 peer my_public_key allowed-ips …`.
>
> example peer setup in /etc/wireguard/wg0.conf:
>
>  [Peer]
>  PublicKey = my_public_key
>  AllowedIPs = 10.8.1.2/32,10.1.0.0/20,10.0.0.0/20,192.168.6.0/24
>
> and `wg setconf wg0 /etc/wireguard/wg0.conf && wg show wg0 allowed-ips | grep 
> my_public_key`
> outputs:
>
>  my_public_key 192.168.6.0/24 10.8.1.2/32
>
> (note missing 10.1.0.0/20,10.0.0.0/20)

I tried to replicate this with exactly the kind of setup you've
described, but using version 0.0.20190905-1 on amd64 on a
debian/unstable system.  i saw the output was like:

my_public_key=  10.8.1.2/32 10.1.0.0/20 10.0.0.0/20 192.168.6.0/24

Can you still replicate the problem?

    --dkg

Attachment: signature.asc
Description: PGP signature

Reply via email to