Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [SOLVED] Failover crash the server when i disconnect one of two WAN

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 696 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      philippeliso
      last edited by

      Hey guys!

      I have configured Multi-Wan:

      WAN - Default Gateway
      WAN2
      (Attachment1)

      Gateway Groups
      (Attachment2)

      Rules
      (Attachment3)

      Dyndns
      (Attachment4)

      And OpenVpn using dyndns hostnames

      When i testing disconnecting (pull the cable with hands) the WAN (default gataway) PFsense firewall crash!, webconfigurator don't works. I can access via ssh and restart webconfigurator and no success. I restart PHP-FPM and access the webconfigurator works again but no internet (failover don't works) and seconds, crash again. I have to reboot the system :(

      Another Test:
      If in Status > Interfaces, i click on REALEASE button on WAN (Default gateway) internet going down and, in some seconds, switch to WAN2 with success, failover Works!

      Something are block the automatic wan switching when a wan link is off (ethernet lights off) :(

      Some have this problem?

      ![Screen Shot 2015-02-20 at 19.17.19.png](/public/imported_attachments/1/Screen Shot 2015-02-20 at 19.17.19.png)
      ![Screen Shot 2015-02-20 at 19.18.08.png](/public/imported_attachments/1/Screen Shot 2015-02-20 at 19.18.08.png)
      Screen_Shot_2015-02-20_at_19_24_39.png
      Screen_Shot_2015-02-20_at_19_22_37.png
      ![Screen Shot 2015-02-20 at 19.17.19.png_thumb](/public/imported_attachments/1/Screen Shot 2015-02-20 at 19.17.19.png_thumb)
      ![Screen Shot 2015-02-20 at 19.18.08.png_thumb](/public/imported_attachments/1/Screen Shot 2015-02-20 at 19.18.08.png_thumb)
      Screen_Shot_2015-02-20_at_19_24_39.png_thumb
      Screen_Shot_2015-02-20_at_19_22_37.png_thumb

      1 Reply Last reply Reply Quote 0
      • H Offline
        Hugovsky
        last edited by

        Pfsense "doesn't like" to be without default gateway. At least for me, it's normal that webconfigurator goes unresponsive when default gateway is down. That's what your are doing when you unplug wan cable, right? I've noticed another pottencial problem in your config. You have 2 entrys in Dyndns using diferent gateways. Is it the same dyndns? if so, you have it wrong. If you need help, I can try to guide you.

        1 Reply Last reply Reply Quote 0
        • P Offline
          philippeliso
          last edited by

          Hey!

          So, my 2 dyndns entry is different.

          I have solved this problem setup the trigger level of gateway group FailOver to Member Down. It Works! Thanks!

          I have another problem with Squid + FailOver, when one of WAN is down, squid returns 500 error int he clients…..but i will open another topic!

          Thanks again!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.