openbalena vpn container forwarding requests to wrong ip address

Hi all, Im trying to reach my devices through ssh tunnel, I’m using an old openbalena version (2.0.0) and proxytunnel to reach the devices, everything was working ok until I made some changes regarding expired certs and this functionality stopped working.
The vpn is working ok and all devices are still reachable from the vpn container.

my docker compose network changed from 172.18.x.x to 172.24.x.x
the vpn container keeps trying to forward requests to 172.18.x.x:3128 and timeouts, it seems the vpn gets the wrong ip from a call to the api:

https://api.xxxxxx.com/v5/service_instance?$select=ip_address&$filter=manages__device/any(d:d/uuid eq 'xxxxxxxx')

it returns:

{

    "d": [

        {

            "ip_address": "172.18.0.8",

            "__metadata": {

                "uri": "/resin/service_instance(NaN)",

                "type": ""

            }

        }

    ]

}

and then the vpn tries to fordward the request to the wrong ip.

Do I need to rerun some config script to fix this or can i just change the network configuration from docker to make it work? thanks in advance