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

    Multi wan and keep state problem

    Routing and Multi WAN
    1
    1
    1.0k
    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.
    • G
      glukolog
      last edited by

      Setup: two ISP on two VLANs, ISP1 - main, ISP2 failover channel.
      use this for setup: https://doc.pfsense.org/index.php/Multi-WAN_2.0
      Problem: ISP1 down, connection estableshed through ISP2.
        ISP1 going up, connection steel through ISP2.
      For example: ping www.smg.com and see TTL
      Workaround or may be solution:
        system->advanced->misc
      Allow default gateway switching  = On
      State Killing on Gateway Failure  = Off

      In file /etc/inc/gwlb.inc
      after line: mwexec("/sbin/route change {$inetfamily} default {$gateways_arr[$dfltgwname]['gateway']}");
      add line: mwexec("/sbin/pfctl -Fs");

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