<Solved> Removing unused system services

Started by bartoszek, August 26, 2025, 08:15:07 AM

Previous topic - Next topic
August 26, 2025, 08:15:07 AM Last Edit: August 26, 2025, 08:46:28 AM by bartoszek
Hi!
I'm quite new to the OPNSense, and right now I'm a bit confused and wanted to make some cleanups in GUI. (there is a lot of functionality that I will newer use)

First of all I wanted to remove usused DHCP servers implementations. I use 'Dnsmasq DNS & DHCP' and do not need any features of kea, I do not need ISA dhcp, so i want to remove those packages from my system.

Can I safely do this? I also assume the those packages can be removed by normal freebsd 'package manager' or directly from opnsense gui


OPNsense isn't quite that modular. Services that "aren't needed" might be a dependency for what you are using. It's taking up minimal disk space and even if you removed them, they'll reappear when you install an update. The only things you can safely remove are anything listed under plugins.

ok, thank you for response, this is exactly the reason why I am asking :)

> OPNsense isn't quite that modular.

Well, it is, but the core makes a few assumptions about a good (offline) base install and making everything plugins that is frequently used complicates development and release engineering.


Cheers,
Franco