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

    Need help creating my own pfsense package repository offline

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 2 Posters 2.1k 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
      R8kit
      last edited by

      Hi all,

      I am running pfsense 2.0.3 offline, and I am trying to create my own package repository offline but without success.
      I followed the instructions on http://doc.pfsense.org/index.php/Creating_Your_Own_Package_Repository,
      but it is still not working.

      I have an offline Apache server, I created the domain: www.pfsense-packages.net
      I copied the downloaded pfsense folder to the website
      I copied the downloaded packages folder to the website

      My first question is where should the folder packages be on my web server, because
      it is in my opinion not clear where the packages folder should be placed. I pasted it in the pfsense folder.

      I got an output (php array)in my web browser from the first test(Browse to http://yourserver/pfSense/test.php)
      But I do not get an output in my web browser from the second test(Browse to http://yourserver/pfSense/pkg_tester.php)

      I also went to http://www.pfsense-packages.net/pfSense/pkg_mgr_settings.php
      and entered the package repository URL (www.pfsense-packages.net) but I keep getting the error:
      Unable to communicate with www.pfsense-packages.net. Please verify DNS and interface configuration, and
      that pfsense has functional internet connectivity.

      I can ping (www.)pfsense-packages.net
      I can dig (www.)pfsense-packages.net
      nslookup (www.)pfsense-packages.net is working

      Can anybody help me out, can anybody tell me what I am doing wrong?

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Did you not use the git clone function?

        I would assume something is missing if pkg_tester.php is not working.

        Steve

        1 Reply Last reply Reply Quote 0
        • R
          R8kit
          last edited by

          Yes, I used the git clone function on a computer that I have online and
          I copied the folders (pfsense and packages) to my offline computer.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Some code not got the correct permissions?
            Are you not seeing an error when you try to load pkg_tester.php? In the server logs?
            I have done this but it was a while ago. I do remember having a number of difficulties getting it up and running but nothing specific to this.

            Steve

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