I have an Archer C60 with OpenWrt Snapshots and WireGuard. The problem is that I cannot connect from one of the two pairs when I am in another external network.
You are allowing 10.0.0.2/24 and 10.0.0.3/24 on your router which is routing wise the same and therefore can not do anything. Think of the /24 in the cidr notation as cutting of last 8 bits (32 - 24 = 8) and therefore cutting of your last octet and routing everything addressed to 10.0.0.x to your first peer. At the same time your try to route the same thing to your second peer. Please be aware that this is partially due to how wireguard sets up routing for you wen writing the configuration.
My suggestion as long as you want only your remote peers traffic routed through your OpenWRT device you just change /24 to /32 for both devices on your router. That allows only traffic from that particular device and only routes back traffic to that particular device without overlapping.
And in your config interface 'wg0' you probably want to have the address set to 10.0.0.1/24 since this will be the IP address of your interfaces as shown by ip addr show on your router.
Note that in this case the /24 is correct since the created interface should cover all the ip addresses of your peers.
Suggesting your recommendations, on the server I changed from 10.0.0.2/24 to 10.0.0.1/24 (typing error). Changing only this did not solve the problem.
And in the clients and server (clients section) I changed from 10.0.0.x/24to 10.0.0.x/32.
It seems I can already connect to both devices at the same time and I can PING from the one that worked well to the one that didn't work.
My idea is to use as a VPN server and I would like all the traffic to go through OpenWrt when I connect to a public Wi-Fi network and have a little more security. Is there anything else i should know?
Before, I could only connect to a single device and the client that did not work did not respond to ping. Now it does respond and works correctly on both!
I use Google Translate and that may be why it is not well understood.
So is everything working the way you want? If so, is your problem solved? If it is solved,....
Maybe I misunderstood this question. For the benefit of future readers, please mark the thread as solved and also the specific reply that helped you solve it. This way, people reading this thread will immediately see the solution.
I understand, but at the end of the post you see the solution, thanks to having to click on the box. The same I will put it because it is something that can help a few people who read other tutorials and followed the steps as I had read.