FreeBSD Compatability

Outside of pfSense, installing within a jail would allow for freeNAS usage. Right now the only way to use it is on freeNAS is within a VM.

Adding support for this. It would be useful, as mills noted, in a freebsd jail. Running a full VM with pihole is a bit overkill.

I would love to see Freebsd support. Currently have a debian VM on my Freenas running just for pihole but would love to run in a native freebsd jail instead.

Guys, please support the worlds greatest OS of all times : It's soo much better than any Linux distro I have ever used! :sunglasses::grimacing::+1:t2::+1:t2:

Lack of FreeBSD support is a shame. PiHole seams to be perfect software to run in a jail in NAS server. It uses tiny resources and does not have much overhead this way. Otherwise either separate hardware must be used or some heavy VM with full linux OS.

Has anyone tried setting up Pi-hole on a Linux, then transfer and adopt lighthttpd/dnsmasq settings to FreeBSD yet?

+1 for a Pi-hole FreeBSD jail

+1 for a Pi-hole FreeBSD jail

Any update on this? :slight_smile:

It would be great for pihole to run in a jail rather than in a vm. Event better if it comes in a plugin form.

I hope they add support would love to see this :slight_smile:

Almost 3 years later and no real movement? Is there anything that can be done to help push this request into reality?

Please port pihole to FreeBsd so it will work with iocage. Thank you.

I really love the tool and think it would make itself great in a FreeBSD Jail or a similiar surrounding.

I'd love to run pihole on my pfSense appliance...

Running it on my pfSense boks would be nice

1 Like

FreeNAS jail support would be awesome. What are the alternatives?

1 Like

Please port pihole to FreeBsd so it will work with iocage. Thank you.

Just waiting for someone from the FreeBSD community to start working on porting.

Is there a list of work items what needs to be done? How can people help?

None of the developers use FreeBSD so you'll need to start trying to install and see what is broken.

I was working through this a bit over the weekend. It is too frustrating to try to use the installer script, so I installed it on a Pi then copied the install over to a freenas jail and was working through it.
I have all the FreeBSD packages installed and get a rudimentary UI. The base packages are pretty simple: lighttpd plus a bunch of lighttpd packages, the sqlite3 and php stuff and a few others which are available on both systems, just packaged differently.
I was starting to go through the Pi-Hole scripts that run the system and ran into a few issues that I think are also resolvable: mktemp in freebsd does not support -suffix, this can be worked around and it is used pretty heavily in /opt/pihole scripts. I personally think this particular issue can be 'fixed' so that the script works on both systems seamlessly. There is another script that tries to run a function that is not present in BSD shell and there is a common workaround as well. I am pretty sure these can all be pretty easily overcome. It appears that most of it is scripts which, I believe, can be adapted to work on freebsd, even if the install script would have to be way different than a Debian install.
The big issue is the FTL package. I tried to build it and fail miserably:
https://github.com/pi-hole/FTL.git
Unless there is someone here that can spend some time on that and get it to compile I think a FreeBSD Pi-Hole is lost...