Userspace networking mode not working in Azure container or AWS EC2 Instances

Tailscale version 1.16.0
Your operating system & version python:3.8-slim docker image

I am trying to connect my containers, deployed in Azure ACI or in AWS EC2 Instances to my Tailscale network.

For Azure I have followed this tutorial:

I have been able to successfully make it work on Azure App Services. When I try to install it in my ACI the containers connect to the network, and are visible for other devices, but they can not open outbound connections.

When I ping my container from other device I get a correct response. But when I ping other devices from my container I don’t get any response, all the packages are lost.

This is my bash start script:

/tailscaled --tun=userspace-networking --socks5-server=localhost:1055 &
until /tailscale up --authkey=${TAILSCALE_AUTHKEY} --hostname=${TAILSCALE_NAME}
    sleep 0.1

export ALL_PROXY=socks5://localhost:1055/
python3 /usr/local/lib/python3.8/site-packages/acuratio/

And this is what I do in my Dockerfile:

ENV TSFILE=tailscale_1.16.0_amd64.tgz
RUN apt-get -y install wget
RUN wget${TSFILE} && \
    tar xzf ${TSFILE} --strip-components=1

RUN mkdir -p /var/run/tailscale /var/cache/tailscale /var/lib/tailscale
RUN chmod +x

CMD [""]

Thank you