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

    Using pfSense's web server

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 4 Posters 3.7k 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.
    • B
      Balanga
      last edited by

      I want to move my pxe/tftp server from FreeNAS to pfsense. I know how to set it up to boot certain utilities from the network, but one problem is how do I set up pfSense's web server to be able to handle requests for files from pfSense?

      For example I've set up Clonezilla to request a file from the pxe server like so:-

      fetch=http://FreeNAS/images/clonezilla/live/filesystem.squashfs

      How do I configure pfSense's web server to handle a similar request?

      fetch=http://pfSense/images/clonezilla/live/filesystem.squashfs

      Not sure which web server pfSense uses - I think it's nginx but I can't figure out how to configure it to service such requests..

      Any advice appreciated.

      1 Reply Last reply Reply Quote 0
      • JailerJ
        Jailer
        last edited by

        This is an incredibly bad idea. pfSense is a firewall not a web/file server.

        1 Reply Last reply Reply Quote 0
        • B
          Balanga
          last edited by

          It is a web server because it provides a nice GUI interface for administration using a web server…. nginx as far as I can tell...

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

            It may contain a web server to provide pages for the GUI but that does not make it a general-purpose web server, nor does it mean it's a good idea to use it as such.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • B
              Balanga
              last edited by

              I accept that it may not be a good idea, but if I really wanted to be able serve just a single file to my internal network via http, where should I copy it?

              1 Reply Last reply Reply Quote 0
              • pttP
                ptt Rebel Alliance
                last edited by

                Ok, if you insist, and will assume the liability  :)

                "Put it" at "/usr/local/www"  (or in a "new directory/folder"  /usr/local/www/XXXX )

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