wg set allowed ip confusion
jens at viisauksena.de
Wed Jan 4 22:10:33 CET 2017
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
a at freifunk # wg set wg0 peer abcdefsomenicekey= allowed-ips 0.0.0.0/0
a at freifunk # wg set wg0 peer abcdefothernicekey= 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
make the world nicer, please use PGP encryption
More information about the WireGuard