Nomad CNI with Calico

Hi Everyone, i wanted to setup calico network without kubernetes using containerd + nomad.
everything works fine on plane network. but when ever i connect those nodes via wireguard vpn, containers stop pinging each other, but containers within the same node are pinging each other.
i have also made a write-up on how i managed to add calico cni to nomad GitHub - nekione/calico-nomad
Please help me figure out this issues.