<div dir="ltr">Yes of course, bad of me to have missed having multiple peers in one config file.<div>Thank you for your help.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, May 29, 2017 at 10:54 PM Jason A. Donenfeld <<a href="mailto:Jason@zx2c4.com" target="_blank">Jason@zx2c4.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ibrahim,<br>
<br>
On Mon, May 29, 2017 at 10:31 PM, Ibrahim Tachijian <<a href="mailto:barhom@netsat.se" target="_blank">barhom@netsat.se</a>> wrote:<br>
> If I understand correctly if I need to connect 10 different wg "clients" to<br>
> one wg "server" I will require one wgX interface per-client on the "server".<br>
><br>
> Is this correct? Does this mean also that each wgX interface on the "server"<br>
> needs to listen on its own UDP port or can the "server" reuse the same UDP<br>
> port?<br>
<br>
No. Each WireGuard interface may have multiple peers:<br>
<br>
           [Interface]<br>
           PrivateKey = yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=<br>
           ListenPort = 51820<br>
<br>
           [Peer]<br>
           PublicKey = xTIBA5rboUvnH4htodjb6e697QjLERt1NAB4mZqp8Dg=<br>
           Endpoint = <a href="http://192.95.5.67:1234" rel="noreferrer" target="_blank">192.95.5.67:1234</a><br>
           AllowedIPs = <a href="http://10.192.122.3/32" rel="noreferrer" target="_blank">10.192.122.3/32</a>, <a href="http://10.192.124.1/24" rel="noreferrer" target="_blank">10.192.124.1/24</a><br>
<br>
           [Peer]<br>
           PublicKey = TrMvSoP4jYQlY6RIzBgbssQqY3vxI2Pi+y71lOWWXX0=<br>
           Endpoint = [2607:5300:60:6b0::c05f:543]:2468<br>
           AllowedIPs = <a href="http://10.192.122.4/32" rel="noreferrer" target="_blank">10.192.122.4/32</a>, <a href="http://192.168.0.0/16" rel="noreferrer" target="_blank">192.168.0.0/16</a><br>
<br>
           [Peer]<br>
           PublicKey = gN65BkIKy1eCE9pP1wdc8ROUtkHLF2PfAqYdyYBz6EA=<br>
           Endpoint = <a href="http://test.wireguard.io:18981" rel="noreferrer" target="_blank">test.wireguard.io:18981</a><br>
           AllowedIPs = <a href="http://10.10.10.230/32" rel="noreferrer" target="_blank">10.10.10.230/32</a><br>
<br>
Please see the man page wg(8) or the front page of the website --<br>
<a href="http://www.wireguard.io" rel="noreferrer" target="_blank">www.wireguard.io</a> -- for more details.<br>
<br>
Regards,<br>
Jason<br>
</blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><b style="color:black;font-family:arial,sans-serif;font-size:small"><span style="font-size:11px;line-height:12.2667px">Ibrahim Tachijian</span></b><div class="gmail_signature" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><p><span style="color:black;font-size:7.5pt;line-height:11.5px">CEO Net Sat AB<br></span><span style="font-size:7.5pt;line-height:11.5px"><font color="#000000">Mobile: +46723321377<br></font></span><a href="mailto:barhom@netsat.se" target="_blank" style="color:rgb(17,85,204);font-size:7.5pt;line-height:11.5px">barhom@netsat.se</a></p><p style="line-height:14.72px"><span style="font-size:7.5pt;line-height:11.5px;color:black">_________________________<br><b>Net Sat AB<br>C/O Jayway AB<br></b></span><span style="color:black;font-size:7.5pt;line-height:11.5px">Klara Östra Kyrkogata 2B, 1TR, 111 52 Stockholm, Sweden<br></span><span style="color:black;font-size:7.5pt;line-height:11.5px">Office: +46 (0)8 408 394 53</span></p></div></div></div></div></div></div></div>