Hey OPNsense people! :-)
As "vbandke" already describes here: https://forum.opnsense.org/index.php?topic=35482.0 (https://forum.opnsense.org/index.php?topic=35482.0)
I found the same log messages on one of my devices with OPNsense 23.7:
2023-09-11T12:26:39
Warning
dpinger
Gateway: duplicated entry "WAN_GW_2" in config.xml needs manual removal
Gateway section in config.xml:
<gateways>
<gateway_item>
<interface>wan</interface>
<gateway>192.168.yyy.zzz</gateway>
<name>WAN_GW_2</name>
<priority>255</priority>
<weight>1</weight>
<ipprotocol>inet</ipprotocol>
<interval>1</interval>
<descr>WAN gateway</descr>
<defaultgw>1</defaultgw>
</gateway_item>
<gateway_item>
<descr>Interface WAN Gateway</descr>
<defaultgw>1</defaultgw>
<ipprotocol>inet</ipprotocol>
<interface>wan</interface>
<gateway>192.168.yyy.zzz</gateway>
<monitor_disable>1</monitor_disable>
<name>WAN_GW_2</name>
<interval>1</interval>
<weight>1</weight>
</gateway_item>
<gateway_item>
<interface>opt1</interface>
<gateway>172.xxx.yyy.zzz</gateway>
<name>vpn-server</name>
<priority>255</priority>
<weight>1</weight>
<ipprotocol>inet</ipprotocol>
<interval/>
<descr>vpn-server intern</descr>
<monitor_disable>1</monitor_disable>
</gateway_item>
</gateways>
Versions on my device:
Versions
OPNsense 23.7.3-amd64
FreeBSD
13.2-RELEASE-p2
OpenSSL
1.1.1v 1 Aug 2023
Should we be worried about this?
Should something be done about this?
And if so, what exactly?
Greetings.
Second this issue.
I actually had a second interface with the same name in my config file on a fresh install, I have removed it manually. No issues so far. Haven't seen this issue on my other instances.
I'd delete the first <gateway_item/>.
I added the warning because this is hard to "fix" from our side without risk of breakage. But the wizard bug causing this in the first place was fixed since.
Cheers,
Franco