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

    How to fix broken site-to-site Wireguard tunnels on 2.7/22.05 and onwards

    Scheduled Pinned Locked Moved WireGuard
    4 Posts 2 Posters 814 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.
    • B
      buzz2912
      last edited by

      Re: Wireguard Site-to-Site Gateways disabled after reboot - service not starting

      1 Reply Last reply Reply Quote 0
      • B
        buzz2912
        last edited by

        Here is a workaround:

        Install package cron
        Add cron job

        Minute: @reboot
        user: root
        Command:
        sleep 60 && /usr/local/sbin/pkg install -f -y pfsense-pkg-WireGuard

        After reboot the wireguard pkg is force reinstalled. After that the service and the tunnels and the gateways come up. Takes some time.

        Hope that helps, Sebastian

        Bildschirmfoto 2023-05-14 um 23.31.56.png

        M 1 Reply Last reply Reply Quote 0
        • M
          Misterb @buzz2912
          last edited by

          Or go to Status->Services and restart dpinger followed by start wireguard.

          B 1 Reply Last reply Reply Quote 0
          • B
            buzz2912 @Misterb
            last edited by

            @misterb

            for me a cron job @reboot with this command works:
            sleep 30 && /usr/local/sbin/pfSsh.php playback svc restart dpinger

            I do have service watchdog running for Wireguard.
            Only tested twice. Your mileage may vary.

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