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

    Second peer connection takes about 6 minutes to negotiate

    Scheduled Pinned Locked Moved WireGuard
    1 Posts 1 Posters 122 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.
    • R
      RoRams
      last edited by

      I seem to have a peculiar issue. My first peer connection comes up with no issue. I reboot the router and the connection comes back with no issues. No routing problems, no issues.

      My second peer on the other hand is giving me some issues. On the initial connection it works fine. If the tunnel dies due to inactivity and I resume connectivity it's fine. No routing problems, no issues.

      I only seem to have issues when I reboot this peer. Once it's rebooted and I generate interesting traffic it takes about 6 to 7 minutes before the handshake is completed. I perform a packet capture on the WAN interface of my PFSense router and I can see the peer trying to initiate the connection but I don't see responses back from the PFSense router. Until about 6 of 7 minutes. But if I restart the WireGuard service on the PFSense router the connection comes up immediately. Once it's up no issues.

      PFSense Hub Router
      Using PFSense Ver: 23.09.1
      Using WireGuard Ver: 0.2.1

      Peer 1
      OpenWRT Version 23.05, WireGuard kmod Version 5.15.134-1

      Peer 2
      OpenWRT Version 23.05.3, WireGuard kmod Version 5.15.150-1

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