Bellow a short description of the setup:
- 2 OpnSense VM's in HA
- VM (SRVPAI01) with VPN to route all my DMZ traffic through, SRVPAI01 has a separate VLAN
- OpnSense has two gateway's: default gateway and gateway to SRVPAI01
This setup works very good. The only problem I have is when I reboot SRVPAI01, the gateway go offline but never comes back up. And to be clear, it is only the monitoring on the OpnSense firewall that stays offline. The rest works fine.
This is what I've tested.
- DMZ ping SRVPAI01 => OK
- DMZ ping 8.8.8.8 via SRVPAI01=> OK
- Checked the public IP from DMZ machine => OK (VPN IP address)
- DMZ internet test => OK
- OpnSense ping SRVPAI01 (Interfaces/Diagnostics/Ping) => OK
- OpnSense ping 8.8.8.8 via SRVPAI01 => OK
When I go to System/Gateways/Single, select edit and save without any modifications, the gateway comes back online.
Anyone who has any idea how to solve this or is this some kind of bug? If this is a bug, please tell me how to report this?
Firewall Info:
version: OPNsense 19.1.2-amd64 (latest)
Gateway settings:
Name: DMZ_GWv4
Interface: PIA
Address Family: IPv4
IP Address: 10.10.9.1
Monitor IP: 8.8.8.8
The Monitor IP must be different between the two, it doesn't appear to be in your case
What do you mean with 'the two'?
...gateways ;-)