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

    WireGuard Connection Status

    WireGuard
    4
    8
    2.3k
    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.
    • arrmoA
      arrmo
      last edited by

      Hi,

      I have WireGuard up and running, really like it, but ... in webConfigurator, is there a way to have the Peers show as a different state (color?) when connected?

      Thanks!

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @arrmo
        last edited by

        @arrmo
        Check out the announcing blog page : https://www.netgate.com/blog/wireguard-for-pfsense-software.html : it mentions the documentation where status is explained.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 1
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          The WireGuard protocol is connectionless -- there is no status, up/down, etc.

          If it's a site-to-site, you could assign it as an interface and configure gateway monitoring to ping the other side for an idea of whether or not it's working, but that's about it.

          If it's for a remote access style setup the most you can do is see what the last known endpoint address is for a given key, but that doesn't mean it's connected now, just that it sent some traffic at some point since the last time the interface was configured. So not very useful.

          WireGuard is weird compared to traditional VPN protocols, it will take some getting used to.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          arrmoA 1 Reply Last reply Reply Quote 1
          • arrmoA
            arrmo @jimp
            last edited by

            @jimp said in WireGuard Connection Status:

            WireGuard is weird compared to traditional VPN protocols, it will take some getting used to.

            Agreed there ... LOL! The #1 problem here is my head wrapping around this, that I agree with completely 🤣.

            But just a thought ... WireGuard does a regular handshake (check for connectivity?). Perhaps that could be a trigger?

            No biggie at all, just trying to understand. Thanks for the comments!

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              There is no real handshake/trigger as such, certainly nothing that fires off an event that gets tracked anywhere in a way we can use it.

              We can only go by the information available from the wireguard utilities (e.g. wg) and it doesn't print anything notable except the active configuration, plus if it's a dynamic endpoint it outputs the last known endpoint address for a peer.

              No counters, timers, etc.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              arrmoA 1 Reply Last reply Reply Quote 1
              • arrmoA
                arrmo @jimp
                last edited by

                @jimp That makes sense, thanks for the details!

                1 Reply Last reply Reply Quote 0
                • demD
                  dem
                  last edited by

                  The Linux version of wg shows information that can be helpful in determining which peers have recently been active. I gather this is missing from the FreeBSD version.

                  wg.jpg

                  1 Reply Last reply Reply Quote 1
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    Yeah there is nothing like that in the wg output on FreeBSD. Not that I've seen yet anyhow.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

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