Hi there!If you have a lab setup you could try to import bits and pieces, I did it in 2015, when both senses were pretty close. Maybe aliases and FW rules still working? Interfaces, NAT? Or you copy and paste with a text editor and import the .xml afterwards.The design of the GUI is imho much more intuitive in OPN, but for sure you have to adapt. What I still miss are the separators for FW rules to mark groups of rules, but no way to get that feature out of the devs... ;-) trying for about 6-8 years now.Enjoy the latest and greatest in OPN, as pfsense patching the CE once a year or so.
At a quick glance it's the new (incompatible) way the VLANs are named in CE-2.7.0:<if>igb1.899</if>The old compatible way would be igb1_vlan899, but that also requireschanging the VLAN device names as well. This is going to be a manualprocess. Otherwise the device will never be fully understood as a VLANand it could have more side effects during operation.
I made a manual search replace of these two combinations, as I only have vlans on em1 and em2Watch out if you use "Replace All" ... em1.em1_vlanem2.em2_vlan
<vlans> <vlan> <if>em1</if> <tag>100</tag> <pcp></pcp> <descr><![CDATA[inside]]></descr> <vlanif>em1.100</vlanif> </vlan> <vlan> <if>em1</if> <tag>110</tag> <pcp></pcp> <descr><![CDATA[new_inside]]></descr> <vlanif>em1.110</vlanif> </vlan> <vlan> <if>em2</if> <tag>10</tag> <pcp></pcp> <descr><![CDATA[inet_only]]></descr> <vlanif>em2.10</vlanif> </vlan>
<vlans> <vlan> <if>em1</if> <tag>100</tag> <pcp></pcp> <descr><![CDATA[inside]]></descr> <vlanif>em1_vlan100</vlanif> </vlan> <vlan> <if>em1</if> <tag>110</tag> <pcp></pcp> <descr><![CDATA[new_inside]]></descr> <vlanif>em1_vlan110</vlanif> </vlan> <vlan> <if>em2</if> <tag>10</tag> <pcp></pcp> <descr><![CDATA[inet_only]]></descr> <vlanif>em2_vlan10</vlanif> </vlan>
<interfaces> <lan> <enable></enable> <if>em1.110</if> <descr><![CDATA[LAN]]></descr> <spoofmac></spoofmac> <ipaddr>192.168.110.1</ipaddr> <subnet>24</subnet> </lan> <opt1> <descr><![CDATA[inside_em1_VL100]]></descr> <if>em1.100</if> <spoofmac></spoofmac> <enable></enable> <ipaddr>192.168.17.1</ipaddr> <subnet>24</subnet> </opt1> <opt2> <descr><![CDATA[mgmt_em1_VL120]]></descr> <if>em1.120</if> <enable></enable> <spoofmac></spoofmac> <ipaddr>192.168.120.1</ipaddr> <subnet>24</subnet> </opt2> <opt3> <descr><![CDATA[inet_only_em2_VL10]]></descr> <if>em2.10</if> <spoofmac></spoofmac> <enable></enable> <ipaddr>192.168.11.1</ipaddr> <subnet>24</subnet> </opt3>
<interfaces> <lan> <enable></enable> <if>em1_vlan110</if> <descr><![CDATA[LAN]]></descr> <spoofmac></spoofmac> <ipaddr>192.168.110.1</ipaddr> <subnet>24</subnet> </lan> <opt1> <descr><![CDATA[inside_em1_VL100]]></descr> <if>em1_vlan100</if> <spoofmac></spoofmac> <enable></enable> <ipaddr>192.168.17.1</ipaddr> <subnet>24</subnet> </opt1> <opt2> <descr><![CDATA[mgmt_em1_VL120]]></descr> <if>em1_vlan120</if> <enable></enable> <spoofmac></spoofmac> <ipaddr>192.168.120.1</ipaddr> <subnet>24</subnet> </opt2> <opt3> <descr><![CDATA[inet_only_em2_VL10]]></descr> <if>em2_vlan10</if> <spoofmac></spoofmac> <enable></enable> <ipaddr>192.168.11.1</ipaddr> <subnet>24</subnet> </opt3>
Franco did some magic, and with a yet another patch, he made it possible to import the aliases section, directly from the pfS config file.
Do you want to flush this config property? [y/N]: yDone. A backup was created and can be restored if needed.Cannot find aliases <---- This one can be ignored - It's due to the Alias section delete's performed by the script*** OPNsense\Firewall\Alias Migration failed, check log for details <---- Import Error
root@xxxx-fw-01:~ # opnsense-patch e4c857f0Fetched 28df2b8fb via https://github.com/opnsense/core
pluginctl -f OPNsense.Firewall.Alias