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

    I need the CP to pull info from internet before auth - what can I do?

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 3 Posters 1.2k 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.
    • R Offline
      Roques
      last edited by

      I've set up my CP with php (it pulls a form and some information from a hosting site on the internet) but since users don't have access to the internet until they press OK, the form doesn't load.

      What can I do about it?

      1 Reply Last reply Reply Quote 0
      • M Offline
        Metu69salemi
        last edited by

        Can you host those needed infos locally?

        1 Reply Last reply Reply Quote 0
        • I Offline
          islandwifibill
          last edited by

          If the hosting site is not using dynamic dns, this is a very simple thing to do.  Just add the host name of the hosting site you are trying to reach to the "allowed hostnames" list in the cp.  Similarly, if it's a static IP address that doesn't resolve to a host name, just add that IP to the "allowed ip addresses" list.

          1 Reply Last reply Reply Quote 0
          • R Offline
            Roques
            last edited by

            @Metu69salemi: they need to be hosted on the cloud because I have several boxes over a large geographic area and need to change those fields periodically.

            @islandwifibill: great! Thanks! I will try that and come back if I have any issues.

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