SWAG intance suddenly unavailable from iPhone outside of local network

I have a docker swag instance that I use to access my home assistant/frigate/portainer containers from outside of my home network. At some point in the past few days without me making any changes to anything I can no longer access any of the subdomains from outside of my local network. When conncted to my wifi I can access them fine but when I disconnect from the wifi and use my mobile data nothing happens and I dont get anything in my nginx access.log files.

However, none of this happens on my girlfriend Pixel 7 phone. When attempting the same tests on her phone I was able to access everything as I wouldve expected when away from the local network.

This is what I have in my docker compose file:

    image: linuxserver/swag
    container_name: swag
    restart: unless-stopped
      - NET_ADMIN
      - /etc/localtime:/etc/localtime:ro
      - /opt/swag/config:/config
      - /opt/swag/letsencrypt:/etc/letsencrpt
      - PGID=1000
      - PUID=1000
      - EMAIL=*****@gmail.com
      - URL=****.duckdns.org
      - SUBDOMAINS=wildcard
      - VALIDATION=duckdns
      - TZ=Europe/London
      - DUCKDNSTOKEN=*******
      - DOCKER_MODS=linuxserver/mods:swag-dashboard
      - "80:80"
      - "81:81"
      - "443:443"

I added the docker_mods and port 81 today when trying to diagnose what the issue could be.

Did you look at the nginx error.log file?

1 Like