Navigation

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

    Offline Package Management?

    pfSense Packages
    3
    4
    2805
    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.
    • A
      Agarax last edited by

      So it looks like it's been a few years since this was last asked, so I was wondering if there was a more up to date answer.

      What's the best way to install packages to pfsense instances that do not have internet connectivity?

      Preferably I'd like to avoid mirroring the entire repo since I only need a handful (open vm tools being the biggest).

      Also, when I look at the documentation for creating your own repo it's for 2.2 and before.

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by jimp

        There isn't anyone good procedure at the moment.

        You can do something like this, though. From a system with connectivity:

        pkg fetch -dy pfSense-pkg-<name of package></name>
        

        That will put the files it needs into /var/cache/pkg/

        You can then copy the contents of /var/cache/pkg/* to the target system(s) and use pkg install pfSense-pkg-<name of package> from there.

        If it all went correctly, that should be able to use the files locally without external connectivity. But YMMV.

        1 Reply Last reply Reply Quote 0
        • F
          Freik last edited by Freik

          pkg install pfsense-pkg-<name of="" package=""></name> 
          

          The command above did not work for me. Or if i misunderstood what to replace the <> part with.

          I ended up using this instead for haproxy v0.59_9 on v2.4.3:

          pkg add /var/cache/pkg/pfSense-pkg-haproxy-0.59_9.txz
          
          1 Reply Last reply Reply Quote 0
          • jimp
            jimp Rebel Alliance Developer Netgate last edited by

            The forum conversion apparently mangled the syntax above. In this case, you'd just put haproxy there, so pkg install pfsense-pkg-haproxy. But pkg add works for local files as well.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            Products

            • Platform Overview
            • TNSR
            • pfSense
            • Appliances

            Services

            • Training
            • Professional Services

            Support

            • Subscription Plans
            • Contact Support
            • Product Lifecycle
            • Documentation

            News

            • Media Coverage
            • Press
            • Events

            Resources

            • Blog
            • FAQ
            • Find a Partner
            • Resource Library
            • Security Information

            Company

            • About Us
            • Careers
            • Partners
            • Contact Us
            • Legal
            Our Mission

            We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

            Subscribe to our Newsletter

            Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

            © 2021 Rubicon Communications, LLC | Privacy Policy