Wireguard - only 2 of 5 devices access network

Started by newtwork_noob_2878237843, October 01, 2021, 01:24:20 PM

Previous topic - Next topic
October 01, 2021, 01:24:20 PM Last Edit: October 01, 2021, 01:30:51 PM by newtwork_noob_2878237843
Hi,

I've got a nut to crack. I successfully set up Wireguard on Opnsense and the first two clients/peers (Windows 10 and 11) can connect to the network without any problems.  However, I have since tried to add a third Windows 10 peer, an Android peer and a Gl.inet/OpenWrt peer. All show the same behaviour. Connection is successful, a small number of packets are sent and received, but I can't connect to anything on the network (local or not).  What have I screwed up? A general template of the set-up below (I followed the official docs). 192.168.0.1 is the router.

[Interface]
PrivateKey = <Private2 - from wireguard.keys>
Address = 10.10.10.2/32
DNS = 192.168.0.1
[Peer]
PublicKey = <Public1 - from wireguard.keys>
PresharedKey = <Secret - from wireguard.keys>
AllowedIPs = 0.0.0.0/0
Endpoint = <OPNSense public IP>:51820

Solved, I was using the same address for every peer :D It's remarkable that two still worked. Now I have

10.10.10.2/32

10.10.10.3/32

...