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

    PfSense and a webserver

    Scheduled Pinned Locked Moved Firewalling
    9 Posts 5 Posters 1.8k 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.
    • M
      mycholula
      last edited by

      Hi gang!

      Brand new to pfSense, installed it on a miniPC today and replaced my router.

      Wondering it it's possible to also have it double as an apache web server? it's got 50G of space sitting there dying to be used :)

      Advice?

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by

        Not sure - What are the specs on that box?

        1 Reply Last reply Reply Quote 0
        • M
          mycholula
          last edited by

          Integrated Dual-core Intel® Atom™ processor D2550
          2 x SO-DIMM, Max. 8 GB, DDR3 800/1066MHz
          Integrated Intel®GMA 3650 HD graphics
          HDMI port/VGA Dual Display
          2 x SATA 3.0 Gb/s ports, PCI-E x1 slot
          Dual Broadcom Gigabit LAN, USB 3.0 x 2
          Color: Black (custom color is available for special order)
          OS: Windows 7, XP, Linux, FreeBSD
          Applications: Vehicle/Boat PC, Set Top Box, Digital Signage, Network Appliance, Traffic Control, Kiosk, POS, Surveillance

          1 Reply Last reply Reply Quote 0
          • K
            kejianshi
            last edited by

            I wouldn't  - But its possible.
            That machine of yours is hardly a beast.

            1 Reply Last reply Reply Quote 0
            • M
              mycholula
              last edited by

              This is for my kid and his programming class. Would barely have any traffic.

              I didnt see it listed in the packages. Is there somewhere else I need to be looking??

              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by

                I would virtualize and do a pfSense VM and an apache VM if I had to run both on the same hardware.

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by

                  Is the pfsense also just for a kid project or daily use?

                  It can be done by installing a hypervisor and then installing pfsense as a vm and a second linux distro as vm and install Apache on that.

                  It may even work well if you don't hammer it with a ton of traffic.

                  1 Reply Last reply Reply Quote 0
                  • BBcan177B
                    BBcan177 Moderator
                    last edited by

                    Probably not the best to run Apache on the same box… but Lighttpd is already installed and running as the Web Server for pfSense... You could just create a new lighttpd conf file and load it on a different listening port... then only have it listening on the LAN side...

                    ps aux | grep "light"

                    root    39241  0.0  0.3 26280  5952  ??  S    8:19PM  0:36.73 /usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf

                    The existing Lighttpd conf file is in the folder shown in the grep output…

                    "Experience is something you don't get until just after you need it."

                    Website: http://pfBlockerNG.com
                    Twitter: @BBcan177  #pfBlockerNG
                    Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                    1 Reply Last reply Reply Quote 0
                    • marcellocM
                      marcelloc
                      last edited by

                      @BBcan177:

                      Lighttpd is already installed and running as the Web Server for pfSense… You could just create a new lighttpd conf file and load it on a different listening port... then only have it listening on the LAN side...

                      +1

                      That's what I do for hosting wpad files.

                      Treinamentos de Elite: http://sys-squad.com

                      Help a community developer! ;D

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