How to make DLNA work in Jellyfin with Swag?

Hi, I am trying to get the jellyfin container DLNA service to work in reverse proxy with swag but I am not able to. In principle, I created a network in bridge mode for swag and jellyfin but since it is not on the host network, the devices do not discover the DLNA.

I also tried creating a macvlan for jellyfin but even though the devices discover DLNA, I can’t move forward in the movies (it seems like jellyfin thinks the device is off the local network and transcodes)
I’ve tried adding local ips ranges but it doesn’t work either, what could I do?
Sorry for my english. Thanks.

The parameters used for swag and jellyfin and the macvlan:

sudo docker create \
  --name=swag \
  --cap-add=NET_ADMIN \
  --net=lsio \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/Madrid \
  -e URL=mydomain \
  -e SUBDOMAINS=wildcard \
  -e VALIDATION=duckdns \
  -e DUCKDNSTOKEN=mytoken \
  -p 443:443 \
  -p 80:80 \
  -v /home/me/appdata/swag:/config \
  --restart unless-stopped \

sudo docker run -d \
      --name=jellyfin \
      --net=home-net \
      --ip= \
      --mac-address=02:42:c0:a8:01:0f \
      -e PUID=1000 \
      -e PGID=1000 \
      -e TZ=Europe/Madrid \
      -e JELLYFIN_PublishedServerUrl= `#optional` \
      -p 8096:8096 \
      -p 8920:8920 `#optional` \
      -p 7359:7359/udp `#optional` \
      -p 1900:1900/udp `#optional` \
      -v /home/me/appdata/jellyfin:/config \
      -v /mnt/hdd/tv:/data/tvshows \
      -v /mnt/hdd/films:/data/movies \
      --device /dev/dri:/dev/dri `#optional` \
      --restart unless-stopped \

docker network create -d macvlan --subnet= --gateway= -o parent=eno1 home-net