OPNsense Forum

English Forums => Virtual private networks => Topic started by: vaisatimm on October 11, 2021, 05:10:09 pm

Title: Inversion of LAN & WAN ports
Post by: vaisatimm on October 11, 2021, 05:10:09 pm
Hello, everyone.
I'm new in this forum, so I'm sorry if this is not the right section to post this issue.

The issue is:
After deploying with Terraform the OPNSense Master and Backup, I try to importing the config.xml via web browser to put all the configurations that I have on other enviroments, but I see that after applying it, the nets (LAN and WAN) result inverted. I am quite sure that the problem is in the config.xml I upload.
The question is: where could be the mistake in this xml? I am asking this since the xml is about 1000 lines and I could not find the specific mistake that makes the nets inverted.

Thank you very much.
Regards.
Title: Re: Inversion of LAN & WAN ports
Post by: lfirewall1243 on October 14, 2021, 02:56:07 pm
I think its at
<opnsense>
  <interfaces>
     <wan/lan>
        <if>