After migrating to 23.7 everything is working as well as previously in 23.1.10/11 excepting Dpinger with OpenVPN.
When I switch servers the dpinger instance shows down (red) until I go to System > Gateways > Single > edit the gateway of the client in question (I use two OpenVPN clients configured to failover ... https://forum.opnsense.org/index.php?topic=4979.msg25066#msg25066 (https://forum.opnsense.org/index.php?topic=4979.msg25066#msg25066)), save then reapply.
This makes the gateway come back up as green with a ping etc.
I rebuilt my OpenVPN clients using the new instance system as well.
Everything seems to work (OpenVPN shows I have an IP and up) but my instance does not seem to work with System>Gateways>Single or Group.
Has anyone else experienced anything similar / have any insight?
I am having similar issues except I'm using WireGuard and not OpenVPN.
I am pulling my hair out on this one.
I have completely copied current working (pre-MVC/API) configuration to the new OpenVPN Instances.
It connects, I can get the Dpinger to work if I specify a ping address, however the pre-MVC/API config automatically pings X.X.X.1 (the gateway) if its address is X.X.X.26.
The new OpenVPN instances config does not automatically get a gateway and that is why dpinger is not working.
Error I get is:
/usr/local/opnsense/scripts/routes/gateway_status.php: Gateway currently empty for 1.1.1.1 on opt6
I was using 1.1.1.1 as the monitor IP. I have also confirmed that I it works on the VPN gateway even though it is not automatically set.
I have played with the gateway tick boxes as well as specifying my wan IP in the routes boxes in instances to no avail.
On the old client config I would set my wan interface (but there is no option for that in the new system), so I am not sure if there is another way to set that within OpenVPN instances config and this will set the gateway.
I am by no means an expert with OpenVPN / routing in general (I muddle along until stuff works / RTFM).
In this case there doesn't seem to be a manual and I have muddled as far as I can.
Am I overlooking looking something simple? I am unable to determine what needs to be setup to make OpenVPN set / use gateway properly.
Cheers,