Dietpi-Vpn Issue with network traffic

Yes, you need to create a separate routing table for the traffic that uses the wireguard tunnel.
An example from another topic.