Sometimes in NS7 there is a specified default gateway not only for red interfaces but also for local interfaces green, blue, orange (this could come from a unit which at the start was a single server and then it became also a firewall).
In NS7 there are no problems because gateways for local zones are ignored if there is at least one red interface.
Steps to reproduce
Migrate a NethServer installation from NS7 to NethSecurity 8.
Ensure the original NS7 setup has specified default gateways not only for red interfaces but also for local interfaces (green, blue, orange).
Complete the migration process.
Expected behavior
During migration, gateways that do not belong to a RED interface should be removed to prevent any issues in NethSecurity 8.
Actual behavior
Gateways specified for local interfaces (green, blue, orange) are converted and cause problems in NethSecurity 8.
Proposed solution: remove all specified gateways during the migration if they do not belong to a RED interface.
Sometimes in NS7 there is a specified default gateway not only for red interfaces but also for local interfaces green, blue, orange (this could come from a unit which at the start was a single server and then it became also a firewall). In NS7 there are no problems because gateways for local zones are ignored if there is at least one red interface.
Steps to reproduce
Expected behavior
During migration, gateways that do not belong to a RED interface should be removed to prevent any issues in NethSecurity 8.
Actual behavior
Gateways specified for local interfaces (green, blue, orange) are converted and cause problems in NethSecurity 8.
Proposed solution: remove all specified gateways during the migration if they do not belong to a RED interface.
Components
NethSecurity version: 8-23.05.3-ns.1.0.1