PiVPN with WireGuard: can access Raspberry Pi only when connected to VPN

as well, pls share Wireguard Server config file.

And one more to share

ls -l /etc/alternatives/iptables

Maybe it is similar to the issue we had on Odroid. Just thinking :thinking: https://dietpi.com/forum/t/wireguard-connection-is-not-working-on-odroid-bullseye/6180/20
Did you tried to reboot your system in between?