OPNsense Forum

English Forums => 26.1, 26.4 Legacy Series => Topic started by: Patrick M. Hausen on October 06, 2026, 09:55:12 PM

Title: Firewall rule migration assistant on HA cluster question
Post by: Patrick M. Hausen on October 06, 2026, 09:55:12 PM
Hi all,

I just upgraded a production HA system from 26.1.latest to 26.7.5. I used the migration assistant on the primary node to migrate the firewall rules including deletion of the legacy rules.

I then synced the configuration from primary to backup.

Expectedly all the "Rules [new]" rules were present but so were the legacy rules on the backup. Is this intentional? I manually deleted them and the upgrade continued successfully without any unexpected events.

Just wondering ... I was expecting the "Rules [new]" to be synced (which happened) as well as the "Rules", i.e. the fact that there are none. This did not happen.

Kind regards,
Patrick
Title: Re: Firewall rule migration assistant on HA cluster question
Post by: Monviech (Cedrik) on October 07, 2026, 07:15:52 AM
The XMLRPC sync cannot delete the legacy rules if you empty them completely (it cannot sync empty nodes). So its better to delete them on both.

The OPNcentral sync on the other hand can delete empty nodes, cause the sync works a little differently.