OPNsense default gateway switch

Started by viktor, October 11, 2017, 09:17:20 AM

Previous topic - Next topic
October 11, 2017, 09:17:20 AM Last Edit: October 11, 2017, 12:01:51 PM by viktor
Hello,

openvpn setup:
- latest openvpn version (17.7.5)
- 2 wan links with static ip's (static ip configuration on interfaces)
- wan failover group (tier1-tier2/member down) (all LAN traffic router via wan_failover GW)
- WAN_1_GW - default gw (0.0.0.0/0 via WAN_1_GW)

issue description:
"System-Gateways-All-WAN_2_GW-Edit-Default gateway-check-Save"
https://example.com/system_gateways_edit.php?id=1

- when i'm connected to router from WAN and trying to change default gateway, i'm loosing all the connectivity to opnsense (icmp, vpn, port forwarding)

- wan_failover group works fine though. people from LAN still having internet connection

it looks like opnsense disable old default route and does not enable new one

P.S
as it turned out it's required to press Apply button to apply settings
but it's impossible to do when you're making changes from WAN
i guess you need to do save and apply in one step (in GW edit dialog)

added issue on github
https://github.com/opnsense/core/issues/1874

Hi Victor,

Thanks, we'll discuss on GitHub. :)


Cheers,
Franco