OPNsense Compatibility
NetDefense maintains compatibility with:
- 🖥️ OPNsense 25.7 and later
- 🐡 FreeBSD 14.x base system
The NetDefense plugin integrates with OPNsense’s standard update mechanism, making updates seamless and automatic.
The NetDefense repository is registered with the same priority as the official OPNsense repositories. This means:
pkg upgrade operationsThe easiest way to keep NetDefense updated is through OPNsense’s built-in update system:
Navigate to System > Firmware > Updates
Click Check for updates
If updates are available (including NetDefense), click Update
The system will download and apply all available updates
NetDefense updates will be applied along with any other pending updates.
If you have configured automatic updates in OPNsense, NetDefense will be updated automatically:
Navigate to System > Settings > Cron
Verify your firmware update schedule
NetDefense updates will be included in these scheduled updates
If you prefer to update NetDefense specifically or need to update outside the normal schedule:
pkg update -f
pkg upgrade os-netdefense
pkg upgradeFor manual package updates (air-gapped environments):
Download the latest package from the repository
curl -L -O https://repo.netdefense.io/opnsense/os-netdefense-X.Y.Z.pkgTransfer to OPNsense device
scp os-netdefense-X.Y.Z.pkg root@your-opnsense-ip:/tmp/Install the update
ssh root@your-opnsense-ippkg add -f /tmp/os-netdefense-X.Y.Z.pkgRestart the service
service ndagent restartThe installed plugin version can be found at:
System > Firmware > Plugins
Look for os-netdefense in the list of installed plugins.
pkg info os-netdefenseThis displays the installed version along with other package details.
OPNsense will display update notifications in the web interface when new versions are available. You’ll see:
OPNsense Compatibility
NetDefense maintains compatibility with:
Update Safety
Updates preserve:
After updating, verify the plugin is working correctly:
Check the service status
service ndagent statusReview the logs for any errors
Navigate to Services > NetDefense > Log File
Verify connectivity in your NetDefense dashboard
The device should remain online and connected after the update.
If the update process fails:
Clear the package cache and retry:
pkg clean -apkg update -fpkg upgrade os-netdefenseCheck for dependency conflicts:
pkg check -dIf the agent fails to start after an update:
Check the logs:
tail -50 /var/log/ndagent.logVerify configuration integrity:
Navigate to Services > NetDefense > Settings and click Apply
Manually restart the service:
service ndagent restartSee the Troubleshooting guide for more detailed solutions.