Re: Allowed IPs Toggling

2018-03-16 Thread Gianluca Gabrielli
Thanks very much to everybody, like always professional and straight to the point! One of the best ml ever :) Cheers, Gianluca ___ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/wireguard

Re: Allowed IPs Toggling

2018-03-15 Thread Tim Sedlmeyer
Allowed-ips plays a variety of roles which at different times can be mapped to several traditional network roles but one it doesn't really play the role of routing table. Instead they act as a forwarding information base for the wireguard interface matching ip addresses to peers. Wireguard then mak

Re: Allowed IPs Toggling

2018-03-15 Thread Steve Gilberd
> WireGuard *does* support overlapping ranges of AllowedIPs on different peers. It > doesn't support having *identical* ranges of AllowedIPs on different peers, > which was the situation here. (You're correct, there's no concept of a metric.) Oh good - looks like I just misunderstood your ordinal

Re: Allowed IPs Toggling

2018-03-15 Thread Samuel Holland
Hello, On 03/15/18 13:39, Steve Gilberd wrote: >> Allowed IPs is like a routing table; you can't have two routes for the same > set of IPs > > If this is the case, then wireguard does not have proper routing support. > > Normally, routing tables allow both multiple and overlapping routes present

Re: Allowed IPs Toggling

2018-03-15 Thread Steve Gilberd
> Allowed IPs is like a routing table; you can't have two routes for the same set of IPs If this is the case, then wireguard does not have proper routing support. Normally, routing tables allow both multiple and overlapping routes present. When making routing decisions, the most-specific route is

Re: Allowed IPs Toggling

2018-03-15 Thread Samuel Holland
Hello, On 03/15/18 10:31, Gianluca Gabrielli wrote: > I was setting two peers on the server, but every time I re-add one of these > two the other one is shown with (none) on "allowed ips" field. Of course that > blocks communications with that peer. If I try to re-add it, then the other > peer lo

Allowed IPs Toggling

2018-03-15 Thread Gianluca Gabrielli
Hi folks, I was setting two peers on the server, but every time I re-add one of these two the other one is shown with (none) on "allowed ips" field. Of course that blocks communications with that peer. If I try to re-add it, then the other peer loses its configuration, same problem. I also up