QUESTION - Wireguard server : client shows the public IP

Hello, I know this has been asked multiple times, but I can’t find the topic. Here is my setup for my home small server.

Raspberry pi zero 2 w running Pihole + unbound + wireguard server with pivpn

When my client connects to the Wireguard server, I check its IP address. (whatismyipaddress) actually displays my public IP address.

Is this normal? or should it display the wireguard server’s IP address?

It will always sho a public IP since you visit the site with a public IP. The question is which one. The one of the remote site or the one of the local site and that depends on how the tunnel is configured and what traffic goes through the tunnel and what not.