<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Danny,<div class=""><br class=""></div><div class="">Have you also changed the mask for each of the peers on your central node to /32? If not you’ll need to do this, as leaving them as /24 still effectively makes them all the same route. Ie 192.168.50.1/24 and 192.168.50.2/24 are both the same still. The “AllowedIPs" on the central node to be 192.168.50.1/32, 192.168.50.2/32 etc in your example.<br class=""><div><br class=""></div><div>You can leave the “Address” IPs with a /24 mask.</div><div><br class=""></div><div>Are you able to share an updated copy of your configs?</div><div><br class=""></div><div>Cheers,</div><div>Steven</div><div><br class=""><blockquote type="cite" class=""><div class="">On 8 Sep 2018, at 6:36 pm, <a href="mailto:danny.korpan@mailbox.org" class="">danny.korpan@mailbox.org</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Hi,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">I’ve changed the AllowedIPs so that everyone has it’s own dedicated IP. Still the same problem. No routing.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Kind Regards,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Danny<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="border-style: none none none solid; border-left-width: 1.5pt; border-left-color: blue; padding: 0cm 0cm 0cm 4pt;" class=""><div class=""><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class="">Von:</b><span class="Apple-converted-space"> </span>Ryan Whelan <<a href="mailto:rcwhelan@gmail.com" class="">rcwhelan@gmail.com</a>><span class="Apple-converted-space"> </span><br class=""><b class="">Gesendet:</b><span class="Apple-converted-space"> </span>Donnerstag, 6. September 2018 19:14<br class=""><b class="">An:</b><span class="Apple-converted-space"> </span><a href="mailto:danny.korpan@mailbox.org" class="">danny.korpan@mailbox.org</a><br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>WireGuard mailing list <wireguard@lists.zx2c4.com><br class=""><b class="">Betreff:</b><span class="Apple-converted-space"> </span>Re: Routing only to latest peer in the config list seems to work<o:p class=""></o:p></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">You're using the same AllowedIPs for multiple peers.<o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">On Thu, Sep 6, 2018 at 12:15 PM <<a href="mailto:danny.korpan@mailbox.org" style="color: purple; text-decoration: underline;" class="">danny.korpan@mailbox.org</a>> wrote:<o:p class=""></o:p></div></div><blockquote style="border-style: none none none solid; border-left-width: 1pt; border-left-color: rgb(204, 204, 204); padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi,<br class=""><br class="">I have the problem with my wireguard server, that only the latest user<br class="">"peer" from the server config can route/ping to the internal wireguard<br class="">server IP or the clients in the network behind the wireguard server upon<br class="">successful connection. All peers can connect to the server, but only the<br class="">latest in the list last can ping other servers.<br class="">I can't locate the error in the configs... does anybody have an idea?<br class=""><br class="">My wireguard server and client version is using 0.0.20180809-wg1~xenial with<br class="">Ubuntu 18.04.1<br class=""><br class="">wg0.conf<br class="">[Interface]<br class="">Address =<span class="Apple-converted-space"> </span><a href="http://192.168.50.1/24" target="_blank" style="color: purple; text-decoration: underline;" class="">192.168.50.1/24</a><br class="">PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A<br class="">POSTROUTING -o eth0 -j MASQUERADE<br class="">PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D<br class="">POSTROUTING -o eth0 -j MASQUERADE<br class="">ListenPort = 51820<br class="">PrivateKey = XXX<br class=""><br class="">[Peer]<br class="">#User 1<br class="">PublicKey = XXX<br class="">PresharedKey = XXX<br class="">AllowedIPs =<span class="Apple-converted-space"> </span><a href="http://192.168.50.0/24" target="_blank" style="color: purple; text-decoration: underline;" class="">192.168.50.0/24</a><br class=""><br class="">[Peer]<br class="">#User 2<br class="">PublicKey = XXX<br class="">PresharedKey = XXX<br class="">#AllowedIPs =<span class="Apple-converted-space"> </span><a href="http://192.168.50.0/24" target="_blank" style="color: purple; text-decoration: underline;" class="">192.168.50.0/24</a><br class=""><br class="">[Peer]<br class="">#User 3<br class="">PublicKey = XXX<br class="">PresharedKey = XXX<br class="">AllowedIPs =<span class="Apple-converted-space"> </span><a href="http://192.168.50.0/24" target="_blank" style="color: purple; text-decoration: underline;" class="">192.168.50.0/24</a><br class=""><br class="">[Peer]<br class="">#User 4<br class="">PublicKey = XXX<br class="">PresharedKey = XXX<br class="">AllowedIPs =<span class="Apple-converted-space"> </span><a href="http://192.168.50.0/24" target="_blank" style="color: purple; text-decoration: underline;" class="">192.168.50.0/24</a><br class=""><br class=""><br class=""><br class="">client.config<br class="">[Interface]<br class="">PrivateKey = XXX<br class="">DNS = 192.168.178.1<br class="">Address =<span class="Apple-converted-space"> </span><a href="http://192.168.50.2/24" target="_blank" style="color: purple; text-decoration: underline;" class="">192.168.50.2/24</a><br class=""><br class="">[Peer]<br class="">PublicKey = XXX<br class="">PresharedKey = XXX<br class="">AllowedIPs =<span class="Apple-converted-space"> </span><a href="http://192.168.50.0/24" target="_blank" style="color: purple; text-decoration: underline;" class="">192.168.50.0/24</a>,<span class="Apple-converted-space"> </span><a href="http://190.168.178.0/24" target="_blank" style="color: purple; text-decoration: underline;" class="">190.168.178.0/24</a><br class="">Endpoint = my.remote.server:51820<br class="">PersistentKeepalive = 25<br class=""><br class="">My sysctl.conf includes<br class="">net.ipv4.conf.all.proxy_arp = 1<br class="">net.ipv4.ip_forward = 1<br class=""><br class="">Does anybody have an idea?<br class=""><br class=""><br class="">Kind Regards,<br class="">Danny<br class=""><br class="">_______________________________________________<br class="">WireGuard mailing list<br class=""><a href="mailto:WireGuard@lists.zx2c4.com" target="_blank" style="color: purple; text-decoration: underline;" class="">WireGuard@lists.zx2c4.com</a><br class=""><a href="https://lists.zx2c4.com/mailman/listinfo/wireguard" target="_blank" style="color: purple; text-decoration: underline;" class="">https://lists.zx2c4.com/mailman/listinfo/wireguard</a><o:p class=""></o:p></div></blockquote></div></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">WireGuard mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><a href="mailto:WireGuard@lists.zx2c4.com" class="">WireGuard@lists.zx2c4.com</a></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><a href="https://lists.zx2c4.com/mailman/listinfo/wireguard" class="">https://lists.zx2c4.com/mailman/listinfo/wireguard</a></span></div></blockquote></div><br class=""></div></body></html>