Skip to content

Updating

The NetDefense plugin ships through OPNsense’s standard package system, so updates flow through the same channels as everything else on the device.

The NetDefense repository is registered alongside the official OPNsense repositories. In practice:

  • NetDefense updates are included in standard pkg upgrade operations
  • Updates apply during scheduled firmware updates
  • No manual steps are needed for routine updates

The easiest way to keep NetDefense updated is through OPNsense’s built-in update system:

  1. Navigate to System > Firmware > Updates

  2. Click Check for updates

  3. If updates are available (including NetDefense), click Update

  4. 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:

  1. Navigate to System > Settings > Cron

  2. Verify your firmware update schedule

  3. NetDefense updates will be included in these scheduled updates

If you prefer to update NetDefense specifically or need to update outside the normal schedule:

Terminal window
pkg update -f
pkg upgrade os-netdefense
pkg upgrade

The installed plugin version can be found at:

System > Firmware > Plugins

Look for os-netdefense in the list of installed plugins.

Terminal window
pkg info os-netdefense

This displays the installed version along with other package details.

OPNsense surfaces update notifications in the web interface when new versions are available:

  • A notification badge appears on the System menu
  • Available updates are listed on the System > Firmware > Updates page

OPNsense Compatibility

NetDefense supports:

  • OPNsense 25.7 and later
  • FreeBSD 14.x base system

Update Safety

Updates preserve:

  • All configuration settings
  • Device registration status
  • Log history

After updating, verify the plugin is working correctly:

  1. Check the service status

    Terminal window
    service ndagent status
  2. Review the logs for any errors

    Navigate to Services > NetDefense > Log File

  3. Verify connectivity in your NetDefense dashboard

    The device should remain online and connected after the update.

If the update process fails:

  1. Clear the package cache and retry:

    Terminal window
    pkg clean -a
    pkg update -f
    pkg upgrade os-netdefense
  2. Check for dependency conflicts:

    Terminal window
    pkg check -d

If the agent fails to start after an update:

  1. Check the logs:

    Terminal window
    tail -50 /var/log/ndagent.log
  2. Verify configuration integrity:

    Navigate to Services > NetDefense > Settings and click Apply

  3. Manually restart the service:

    Terminal window
    service ndagent restart

See the Troubleshooting guide for more detailed solutions.