OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • OPNsense default gateway switch
« previous next »
  • Print
Pages: [1]

Author Topic: OPNsense default gateway switch  (Read 2376 times)

viktor

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
OPNsense default gateway switch
« on: October 11, 2017, 09:17:20 am »
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
« Last Edit: October 11, 2017, 12:01:51 pm by viktor »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10327
  • Karma: 806
    • View Profile
Re: OPNsense default gateway switch
« Reply #1 on: October 12, 2017, 08:30:57 pm »
Hi Victor,

Thanks, we'll discuss on GitHub. :)


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • OPNsense default gateway switch
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2