Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Image URL in captive portal not showing

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 3 Posters 404 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      owenv
      last edited by

      Hey everyone,
      I’ve got a captive portal that has an image on it. The image src is a url rather that a file that is uploaded to file manager. The image is stored on AWS. I’ve added the domain name AWS bucket as a host name but even with this the image won’t show.

      What I find interesting is that if I open two portals and connect with the one then the image shows up on the other. Does anyone know what could cause such behaviour?

      P GertjanG 2 Replies Last reply Reply Quote 0
      • P
        paoloposo @owenv
        last edited by

        Probably the client cannot resolve the domain name of the image URL. You'd need to either upload the image to pfSense, use an IP address in the URL or allow access to the DNS server.

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @owenv
          last edited by

          @owenv said in Image URL in captive portal not showing:

          I’ve added the domain name AWS bucket as a host name but even with this the image won’t show

          Connect to the portal without identification.

          Can you use / visit / see the AWS rule now ?
          Keep in mind : a firewall doesn't use URLs or host names for that matter : it only understands "IPs" so if you use a host name, it should be present listed in the allowed host names and now you have to hope that the IP (only one IP !!) it resolved to is the correct one (AWS is typical for using a lot of IP addresses, not just "one").

          See here : Allowed Hostnames - the first Note.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.