From: jens <jens@viisauksena.de>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: wg set allowed ip confusion
Date: Wed, 4 Jan 2017 22:10:33 +0100 [thread overview]
Message-ID: <5674e440-84df-dab2-41ef-327cf61dca1e@viisauksena.de> (raw)
hi,
after playing around with more than 1 peer i got in trouble ... i
realized that a endpoint itself it is not needed "server"side. so i set
none, but allowed-ips is ! but if i set one,the other one is deleted.
What do i miss?
thx so far.
i set up a second peer on a server like this (or in config file it is
the same)
a@freifunk # wg set wg0 peer abcdefsomenicekey=3D allowed-ips 0.0.0.0/0 =
=20
a@freifunk # wg set wg0 peer abcdefothernicekey=3D allowed-ips 0.0.0.0/0
than the first peers allowed IP fields become empty and connection from
peer1 is no longer possible, same vice versa
some more notes..
the peers are running on different uplinks on small embedded devices,
single (wireguard) used - no problem so far.
the wg"server" is running on a VM and port 10099 is NATted there. so
both incoming connection (with different IPv4) are on the same port like
this ...
# wg
=2E..
endpoint: 111.123.123.100:10099
=2E..
endpoint: 222.321.321.200:10099
=2E..
--=20
make the world nicer, please use PGP encryption
next reply other threads:[~2017-01-04 21:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-04 21:10 jens [this message]
2017-01-04 21:15 ` Jason A. Donenfeld
2017-01-04 21:21 ` jens
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=5674e440-84df-dab2-41ef-327cf61dca1e@viisauksena.de \
--to=jens@viisauksena.de \
--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).