Can I install FreeBSD package on OPNsense? (Smokeping for instance)

Started by talopensense, December 26, 2020, 03:00:09 AM

Previous topic - Next topic
Hi all,

I would need to run smokeping to do monitoring of a service from my OPNsense instance directly and not from a host behind the instance.
Since the package for smokeping exists for both FreeBSD - https://www.freshports.org/net-mgmt/smokeping/ and HardenedBSD - https://github.com/HardenedBSD/hardenedbsd-ports/tree/master/net-mgmt/smokeping, I was wondering if there is an easy way to deploy it on OPNsense.
It is purely for testing and not for production.

I wanted to see if I could create a formal plugin/package but that would be if I find a way to understand the logic for getting HardenedBSD packages on OPNsense (beyond UI integration and testing which I understand take time).

Thanks in advance for your guidance.

I'm a smokeping love too, but I think it has some crappy hardcoded dependencies like apache.
You can try to fetch the pkgs from freebsd and install dependencies one by another.

But I didn't try it for smokeping yet.

I wrote a guide ages ago doing it with pfsense:
https://www.routerperformance.net/howtos/pfsense-howtos/how-to-install-smokeping-on-pfsense-2-2/

Thanks a lot for the reply. Funny enough, I came across your post as I was looking at how people may have done it on pfsense ;-)

The question was more related to the ability to install a package from FreeBSD with the absolute URL on OPNsense? Is that something that will work and call all the other dependencies?

Ultimately, I can try on a VM and see how far I go.