wg set allowed ip confusion

jens jens at viisauksena.de
Wed Jan 4 22:10:33 CET 2017


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 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
this ...

# wg
...
  endpoint: 111.123.123.100:10099
...
  endpoint: 222.321.321.200:10099
...


-- 
make the world nicer, please use PGP encryption




More information about the WireGuard mailing list