Use VPN container for traffic

I am trying to set up a torrent clinet container to use a Wiregaurd VPN Container. I have the Wiregaurd container set up and working but the torrent clinet is not using that path.

I have been using Configuring an LXC container with an external VPN – Evan’s Blog as a guide.

this is what I get on the torrent container:

root@qbittorrent:/# curl ifconfig
curl: (6) Could not resolve host: ifconfig

Net1 is the routes for the new network

What am I missing ?

curl ifconfig.me is the proper URL. I like to use IPLeak as they also have a Torrent Address Detection to download and validate the client is not leaking the address as well.

curl ipleak.net/json/