PfSense and a webserver
-
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?
-
Not sure - What are the specs on that box?
-
Integrated Dual-core Intel Atom processor D2550
2 x SO-DIMM, Max. 8 GB, DDR3 800/1066MHz
Integrated IntelGMA 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 -
I wouldn't - But its possible.
That machine of yours is hardly a beast. -
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??
-
I would virtualize and do a pfSense VM and an apache VM if I had to run both on the same hardware.
-
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.
-
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…
-
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.