Hello,
I have the most bizarre problem at the moment. So basically I run WireGuard which is all good. I don't even know how to explain it, but new clients aren't working.
I have profile A which I made many months ago. I recently created a new profile, B. Profile A works and Profile B doesn't. I checked the .conf file and both of them are exactly the same except for the keys are different for each user. What I do know is that profile A is able to connect fine. Profile B seemingly doesn't connect at all. I ruled out DNS because I can't even ping IP addresses when using profile B. I tried rebooting the entire server and it didn't help. If I run wg show it does recognize that the clients do exist. They are also correctly in the /etc/wireguard/wg0.conf file. I thought that it was perhaps a coincidence because it had the IP of 10.66.66.10. I tried deleting the existing 10.66.66.9 user and setting the IP for 10.66.66.10 to 10.66.66.9 to see if maybe by some miracle that was it. It wasn't. I also tried disabling the firewall, but this wouldn't help since profile A is able to connect and use everything just fine. Basically paging Steven for help with this, I don't even know how to explain it.
Edit: okay so looking for differences I did find that on the Peer part of the file, the public key for the old two are the same and the new one is different. In the params file, it's the new public key. If I run wg show the public key says it's the old one that all the old files are using?? I changed the new file to use the old public key. This time at least when I run wg show, it actually acknowledges a connection, but I am still unable to use the internet
Edit 2: to clarify, if it is the public key I'd like to change it so that the new one is used instead. I've already made and deployed the new configs non working so I need to do whatever it takes to make config B work with no change at all even if it makes me need to change config A