From: condor+wireguard-mailinglist@mailbox.org
To: wireguard@lists.zx2c4.com
Subject: Re: Multiple peers
Date: Tue, 13 Mar 2018 18:35:21 +0100 [thread overview]
Message-ID: <2016b91a-4c7e-db4d-7e22-8a7efc9add39@mailbox.org> (raw)
In-Reply-To: <sw07RFheJeAt1YhiYncjYl7au2RKQqmg4fMvgZBN91qBmUxoSGX24JamLXZrSqMC0yvRvz3koe24Li8ini3tEP1h_3j5VF5IFrYwcOMXI0A=@protonmail.com>
Hi Gianluca,
> I wonder if I need to copy/paste all peers' public key on all the
other peers' configuration, or I can just configure each peer to connect
to the server and then allow peers talking with other peers passing
through this server?
If you want each peer to have a 1:1 connection to each other peer, then
– yes. But to maintain such a mesh will be quite a bit of work…
The easier solution should be to use the server as a hub. Make sure the
AllowedIPs on the “clients” permit the subnet IP range you will be
using, e.g. 192.168.10.0/24. The “server's” setting for AllowedIPs for
each peer should reflect the single address (/32) you are setting as
interface address on the peer's side.
To glue, add an iptables rule:
iptables -A FORWARD -i wg9 -o wg9 -j ACCEPT
Kind regards,
Peter
next prev parent reply other threads:[~2018-03-13 17:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-13 17:07 Gianluca Gabrielli
2018-03-13 17:35 ` condor+wireguard-mailinglist [this message]
2018-03-13 22:04 ` Tim Sedlmeyer
2018-03-15 15:05 ` Gianluca Gabrielli
2018-03-15 17:55 ` Germano Massullo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2016b91a-4c7e-db4d-7e22-8a7efc9add39@mailbox.org \
--to=condor+wireguard-mailinglist@mailbox.org \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).