• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 400 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 Oct 14, 2023, 8:59 PM

    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 G 2 Replies Last reply Oct 15, 2023, 8:47 PM Reply Quote 0
    • P
      paoloposo @owenv
      last edited by Oct 15, 2023, 8:47 PM

      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
      • G
        Gertjan @owenv
        last edited by Oct 16, 2023, 8:18 AM

        @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
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received