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

pfSense http service to serve an ISO

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 3 Posters 572 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.
  • S
    stuartbh
    last edited by Jun 1, 2023, 6:35 AM

    pfSense users, developers, et alia:

    I use PXE to boot netboot.xyz.efi which is inclusive of iPXE. iPXE has the ability to boot ISOs (some anyway) using its sanboot command that requires an HTTP service to serve up the ISO. In as much as pfSense already runs a web server for the GUI, has anyone configured it at all to provide such a functionality to serve up an ISO via HTTP or HTTPS? Naturally, such a configuration would need to survive any upgrades that got applied over time to pfSense as well.

    Thanks in advance to everyone here regarding your thoughts on the instant matter before us.

    Stuart

    G 1 Reply Last reply Jun 1, 2023, 6:41 AM Reply Quote 0
    • G
      Gertjan @stuartbh
      last edited by Jun 1, 2023, 6:41 AM

      @stuartbh

      That would work if the router was mostly ROMable, like the many low-bud router firewall devices you can find in the food store down the road.
      pfSense is more a complete OS like Windows x, but it doesn't do 'Office', but fire-walling and routing.

      Booting over a network from an ISO is more for typical 'very thin' client device and a centralized server. Added to that : the server should work even when the local gateway is down, as it has to boot from the server.

      All IMHO of course.

      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
      • S
        stephenw10 Netgate Administrator
        last edited by stephenw10 Jun 1, 2023, 12:05 PM Jun 1, 2023, 12:03 PM

        Basically; don't do that, even if you can! 😉

        You can put files in the web root folder and pfSense will server them but it will be via https and you would need to login.

        You might be able to do it via the lighttpd service that pfBlocker uses to server ad- replacements.

        Neither of those would likely survive an upgrade though.

        There is also a tftp server package which works well for things like PXE booting with small files. I have used it to boot larger images too.

        Steve

        S 1 Reply Last reply Jun 1, 2023, 1:57 PM Reply Quote 0
        • S
          stuartbh @stephenw10
          last edited by Jun 1, 2023, 1:57 PM

          @stephenw10,

          Well I am using the TFTP server and PXE to boot iPXE. Once iPXE takes over I want to use it to "sanboot" an ISO, but that requires the ISO to be made available via HTTP.

          It seems like the best thing is going to be for me to just install an HTTP server on a VM or in a container for that purpose, I was trying to avoid that and let pfSense do it, but I see it probably just cannot be. I was hoping pfSense could serve it up, but no problem I'll just setup a container to do it.

          Stuart

          1 Reply Last reply Reply Quote 1
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received