Feature #4079
closedSpecify opt-number to use on new interfaces
0%
Description
When creating new interfaces, it would be nice to be able to specify the number that the opt-interface receives. A situation that this would be nice to have is when you are setting up HA between two firewalls, since syncing of firewall rules (and perhaps others as well) requires that the interfaces on both nodes has the same opt-number.
For instance, you have on your primary:
wan
lan
opt1
opt3
opt4
opt2 is gone because you removed that interface sometime in the past. And when you want to setup a secondary, you need to skip opt2. Today this can be accomplished by editing the configuration files, or creating an interface opt2 and delete it after opt3 has been created, but a better solution would be the ability to specify what number the opt-interface should have when its being created.