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

WireGuard Connection Status

Scheduled Pinned Locked Moved WireGuard
8 Posts 4 Posters 2.5k 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.
  • A
    arrmo
    last edited by Jan 28, 2021, 2:58 AM

    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!

    G 1 Reply Last reply Jan 28, 2021, 7:15 AM Reply Quote 0
    • G
      Gertjan @arrmo
      last edited by Jan 28, 2021, 7:15 AM

      @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
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Jan 28, 2021, 1:41 PM

        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!

        A 1 Reply Last reply Jan 28, 2021, 5:28 PM Reply Quote 1
        • A
          arrmo @jimp
          last edited by Jan 28, 2021, 5:28 PM

          @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
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Jan 28, 2021, 5:46 PM

            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!

            A 1 Reply Last reply Jan 28, 2021, 7:52 PM Reply Quote 1
            • A
              arrmo @jimp
              last edited by Jan 28, 2021, 7:52 PM

              @jimp That makes sense, thanks for the details!

              1 Reply Last reply Reply Quote 0
              • D
                dem
                last edited by Jan 28, 2021, 8:35 PM

                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
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by Jan 28, 2021, 8:42 PM

                  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
                  4 out of 8
                  • First post
                    4/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received