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

    Traffic is not routed to the tunnel, states are not working correctly

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 1 Posters 375 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.
    • T
      testsia
      last edited by

      Hello!!
      Help me solve the problem, I would be very grateful.
      Site 1
      Pfsense 23.05
      Site 2
      Pfsense 2.6
      An Openvpn tunnel is up between them.
      FRR Global/Zebra dynamic routing configured.
      Everything works fine, FRR updates the routing tables on both servers.
      I also have an ASTERISK that has a trunk connecting Site 1 and Site 2 on the same port 4569.
      It also works fine until the Site1 router is rebooted.
      After the reboot, I see that the tunnel is working and the sites have exchanged routes. But my trunk is not working.
      I looked at the connection status on the router Site 1. And found that it is trying to send packets from my ASTERISK port 4569 to the global network. It ignored the received route from Site 2.
      I think this is because the FRR Global/Zebra service starts slower than Site 1 determines its routing table. As a result, Site 1 simply does not know where to send the packet and it sends it to the global network.
      But when it receives the routing table from Site 2, it doesn't use it because there is already state in the connection states.
      To solve the problem, I simply remove this not the correct state and my trunk on port 4569 works.
      How to avoid such a situation? I want everything to work automatically. Thanks for the help!!
      aster.png

      T 1 Reply Last reply Reply Quote 0
      • T
        testsia @testsia
        last edited by

        HI!
        I solved a problem using rules NAT, I delete my network from NAT and is work.

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